Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002029/0.002028, allocations: 104.8 kB / 16.36 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00234/0.00234, allocations: 191.3 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.015/2.015, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 68.47 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2723, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004934/0.2773, allocations: 3.069 MB / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5772/0.8545, allocations: 1.725 MB / 0.7895 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.8547, allocations: 3.031 kB / 0.7895 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.856, allocations: 332 kB / 0.7898 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0006995/0.8567, allocations: 214.2 kB / 0.79 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005647/0.8573, allocations: 174.7 kB / 0.7902 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004288/0.8578, allocations: 317.8 kB / 0.7905 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005142/0.8583, allocations: 234.7 kB / 0.7907 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.8585, allocations: 142.3 kB / 0.7908 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.8589, allocations: 161.8 kB / 0.791 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.859, allocations: 21.5 kB / 0.791 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004842/0.8594, allocations: 249.1 kB / 0.7912 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.8596, allocations: 99.47 kB / 0.7913 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.8598, allocations: 126.7 kB / 0.7915 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.8604, allocations: 419.8 kB / 0.7919 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.8604, allocations: 1.625 kB / 0.7919 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8604, allocations: 0 / 0.7919 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.8604, allocations: 0 / 0.7919 GB, free: 46.51 MB / 0.6544 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.001158/0.8616, allocations: 0.5458 MB / 0.7924 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.8616, allocations: 11.03 kB / 0.7924 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.8627, allocations: 97.73 kB / 0.7925 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.8631, allocations: 258 kB / 0.7927 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.8632, allocations: 18.25 kB / 0.7928 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.8633, allocations: 30.17 kB / 0.7928 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000717/0.8641, allocations: 376.2 kB / 0.7932 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.8641, allocations: 0.5938 kB / 0.7932 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.579e-05/0.8641, allocations: 13.56 kB / 0.7932 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.8643, allocations: 28.2 kB / 0.7932 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.8649, allocations: 307.4 kB / 0.7935 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.867, allocations: 1.522 MB / 0.795 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.8676, allocations: 233.5 kB / 0.7952 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.8678, allocations: 118.2 kB / 0.7953 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.868, allocations: 87.14 kB / 0.7954 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.8681, allocations: 37.34 kB / 0.7954 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 2.144e-06/0.8681, allocations: 2.938 kB / 0.7954 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001667/0.8697, allocations: 0.7898 MB / 0.7962 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.8698, allocations: 54.88 kB / 0.7963 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.87, allocations: 199.2 kB / 0.7964 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.8701, allocations: 25.7 kB / 0.7965 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.8702, allocations: 164.3 kB / 0.7966 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/0.8703, allocations: 72.36 kB / 0.7967 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.8704, allocations: 49.08 kB / 0.7967 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.8705, allocations: 338.8 kB / 0.7971 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.8708, allocations: 114.2 kB / 0.7972 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.8711, allocations: 173.4 kB / 0.7973 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.8716, allocations: 298.4 kB / 0.7976 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8716, allocations: 0 / 0.7976 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001042/0.8727, allocations: 411.3 kB / 0.798 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.8727, allocations: 16.53 kB / 0.798 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8728, allocations: 2.875 kB / 0.798 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005612/0.8733, allocations: 93.31 kB / 0.7981 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.8737, allocations: 57.88 kB / 0.7982 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.8762, allocations: 1.872 MB / 0.8 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.8765, allocations: 17.22 kB / 0.8 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-05/0.8766, allocations: 12.92 kB / 0.8 GB, free: 42 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.8768, allocations: 158.5 kB / 0.8002 GB, free: 41.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.8769, allocations: 20.2 kB / 0.8002 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006767/0.8776, allocations: 303.9 kB / 0.8005 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.8776, allocations: 4.781 kB / 0.8005 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8776, allocations: 0 / 0.8005 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.8777, allocations: 113.4 kB / 0.8006 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.8778, allocations: 7.938 kB / 0.8006 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.8781, allocations: 13.78 kB / 0.8006 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.8781, allocations: 13.72 kB / 0.8006 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009838/0.8791, allocations: 389.9 kB / 0.801 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006778/0.8798, allocations: 0.5922 MB / 0.8016 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001907/0.88, allocations: 119.5 kB / 0.8017 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001365/0.8802, allocations: 145.8 kB / 0.8018 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of Backend: time 7.61e-07/0.8802, allocations: 4.062 kB / 0.8018 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001414/0.8816, allocations: 0.5162 MB / 0.8024 GB, free: 40.66 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001249/0.8829, allocations: 0.9793 MB / 0.8033 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.01318/0.8961, allocations: 4.473 MB / 0.8077 GB, free: 39.59 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)