Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.505/2.505, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 177 kB / 326.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.372/2.372, allocations: 205.4 MB / 0.5772 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000948/0.0009479, allocations: 92.36 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004818, allocations: 16.48 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.203, allocations: 106.3 MB / 0.8995 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004133/0.2072, allocations: 2.669 MB / 0.9021 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003235/0.2105, allocations: 1.607 MB / 0.9037 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.2108, allocations: 4 kB / 0.9037 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.211, allocations: 39.7 kB / 0.9037 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006102/0.2117, allocations: 163.3 kB / 0.9039 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006177/0.2123, allocations: 139.6 kB / 0.904 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.2128, allocations: 374.9 kB / 0.9044 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.2139, allocations: 0.4993 MB / 0.9049 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.2142, allocations: 107.6 kB / 0.905 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.2146, allocations: 143.5 kB / 0.9051 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.413e-05/0.2146, allocations: 12 kB / 0.9051 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.2151, allocations: 135.8 kB / 0.9052 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2152, allocations: 87.77 kB / 0.9053 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.451e-05/0.2153, allocations: 65.58 kB / 0.9054 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.2158, allocations: 323.2 kB / 0.9057 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2158, allocations: 0 / 0.9057 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2158, allocations: 4 kB / 0.9057 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.2158, allocations: 3.938 kB / 0.9057 GB, free: 59.56 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001023/0.2169, allocations: 0.4991 MB / 0.9062 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2169, allocations: 8.031 kB / 0.9062 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.218, allocations: 92.55 kB / 0.9063 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.2184, allocations: 254 kB / 0.9065 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.2184, allocations: 20.81 kB / 0.9065 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.2185, allocations: 24.55 kB / 0.9066 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.2193, allocations: 372.9 kB / 0.9069 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.2193, allocations: 3.984 kB / 0.9069 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.772e-05/0.2194, allocations: 12 kB / 0.9069 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.2195, allocations: 24.42 kB / 0.907 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.2203, allocations: 305.5 kB / 0.9073 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002318/0.2226, allocations: 1.549 MB / 0.9088 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.2233, allocations: 228.2 kB / 0.909 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.2235, allocations: 120.7 kB / 0.9091 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001953/0.2237, allocations: 85.09 kB / 0.9092 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2238, allocations: 38.56 kB / 0.9092 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 3.356e-06/0.2238, allocations: 0 / 0.9092 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001703/0.2255, allocations: 0.7823 MB / 0.91 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.2256, allocations: 55.41 kB / 0.91 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.2258, allocations: 195.1 kB / 0.9102 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.2258, allocations: 29.7 kB / 0.9102 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.2259, allocations: 163.9 kB / 0.9104 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.226, allocations: 63.02 kB / 0.9105 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.226, allocations: 4 kB / 0.9105 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.2261, allocations: 330.8 kB / 0.9108 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.2264, allocations: 115.9 kB / 0.9109 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.2267, allocations: 171 kB / 0.9111 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.227, allocations: 133 kB / 0.9112 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.227, allocations: 0 / 0.9112 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001145/0.2282, allocations: 422.4 kB / 0.9116 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2282, allocations: 4 kB / 0.9116 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.2282, allocations: 4 kB / 0.9116 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.2289, allocations: 104.9 kB / 0.9117 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.2293, allocations: 55.91 kB / 0.9117 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.2321, allocations: 1.734 MB / 0.9134 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.2325, allocations: 15.92 kB / 0.9135 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.2326, allocations: 12 kB / 0.9135 GB, free: 51.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002129/0.2328, allocations: 169.7 kB / 0.9136 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.2329, allocations: 19.81 kB / 0.9136 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.2336, allocations: 292.9 kB / 0.9139 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.2336, allocations: 0 / 0.9139 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2336, allocations: 0 / 0.9139 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.2338, allocations: 117.1 kB / 0.914 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.2338, allocations: 11.98 kB / 0.9141 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003031/0.2341, allocations: 19.92 kB / 0.9141 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.2342, allocations: 11.98 kB / 0.9141 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001111/0.2353, allocations: 391.8 kB / 0.9145 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001521/0.2369, allocations: 0.5803 MB / 0.915 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000384/0.2373, allocations: 120 kB / 0.9151 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002862/0.2376, allocations: 152 kB / 0.9153 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of Backend: time 1.222e-06/0.2376, allocations: 0 / 0.9153 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002598/0.2403, allocations: 464.9 kB / 0.9157 GB, free: 48.67 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002118/0.2424, allocations: 1.126 MB / 0.9168 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.01219/0.2547, allocations: 4.146 MB / 0.9209 GB, free: 43.36 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)