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.001184/0.001184, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001202/0.001202, allocations: 191 kB / 17.29 MB, free: 5.516 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.441/1.441, allocations: 205.1 MB / 223.2 MB, free: 12.25 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 1.86/1.86, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001512/0.001512, allocations: 67.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2367, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004569/0.2413, allocations: 3.07 MB / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4095/0.6508, allocations: 1.72 MB / 0.7895 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.6509, allocations: 3.188 kB / 0.7895 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008682/0.6518, allocations: 331.1 kB / 0.7898 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.6522, allocations: 205.9 kB / 0.79 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.6526, allocations: 182.6 kB / 0.7901 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002773/0.6529, allocations: 320.9 kB / 0.7905 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.6533, allocations: 240.2 kB / 0.7907 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.6534, allocations: 137.6 kB / 0.7908 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.6537, allocations: 160 kB / 0.791 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.6537, allocations: 20.03 kB / 0.791 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.6541, allocations: 243 kB / 0.7912 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.373e-05/0.6542, allocations: 103.8 kB / 0.7913 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.6543, allocations: 128.1 kB / 0.7914 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.6547, allocations: 420.7 kB / 0.7918 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6547, allocations: 2.812 kB / 0.7918 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6547, allocations: 1.781 kB / 0.7918 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.6547, allocations: 2.625 kB / 0.7918 GB, free: 46.43 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.0008152/0.6555, allocations: 0.5464 MB / 0.7924 GB, free: 46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.6556, allocations: 10.38 kB / 0.7924 GB, free: 46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007032/0.6563, allocations: 90.97 kB / 0.7925 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.6566, allocations: 257.2 kB / 0.7927 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.6566, allocations: 14.75 kB / 0.7927 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.6567, allocations: 29.47 kB / 0.7928 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.6572, allocations: 373.9 kB / 0.7931 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.6572, allocations: 1.531 kB / 0.7931 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/0.6572, allocations: 9.375 kB / 0.7931 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.452e-05/0.6573, allocations: 30.03 kB / 0.7932 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003755/0.6577, allocations: 307.7 kB / 0.7935 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.6591, allocations: 1.522 MB / 0.7949 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.6595, allocations: 233.7 kB / 0.7952 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.6597, allocations: 118.1 kB / 0.7953 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.6598, allocations: 88.33 kB / 0.7954 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.6598, allocations: 34.5 kB / 0.7954 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.893e-06/0.6598, allocations: 4.562 kB / 0.7954 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001013/0.6608, allocations: 0.7927 MB / 0.7962 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.6609, allocations: 54.75 kB / 0.7962 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.661, allocations: 197.7 kB / 0.7964 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.872e-05/0.6611, allocations: 29.2 kB / 0.7964 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.6611, allocations: 162 kB / 0.7966 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.6612, allocations: 72.17 kB / 0.7967 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.6612, allocations: 53.75 kB / 0.7967 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.6613, allocations: 330.9 kB / 0.797 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.6615, allocations: 118 kB / 0.7971 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.6616, allocations: 174.6 kB / 0.7973 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.662, allocations: 294.9 kB / 0.7976 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.662, allocations: 0.8438 kB / 0.7976 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006788/0.6627, allocations: 422 kB / 0.798 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6627, allocations: 7.062 kB / 0.798 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.6627, allocations: 2.812 kB / 0.798 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004113/0.6631, allocations: 103.2 kB / 0.7981 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.6634, allocations: 50.33 kB / 0.7981 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.665, allocations: 1.871 MB / 0.8 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.6652, allocations: 17.58 kB / 0.8 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.6652, allocations: 13.56 kB / 0.8 GB, free: 41.92 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.0001505/0.6654, allocations: 162 kB / 0.8002 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.6655, allocations: 18.34 kB / 0.8002 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.6659, allocations: 297.2 kB / 0.8005 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6659, allocations: 2.875 kB / 0.8005 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.6659, allocations: 0 / 0.8005 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.6659, allocations: 6.094 kB / 0.8005 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008291/0.6668, allocations: 0.702 MB / 0.8012 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.6668, allocations: 1.25 kB / 0.8012 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.6671, allocations: 58.03 kB / 0.8012 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.6671, allocations: 2.938 kB / 0.8012 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.6671, allocations: 11.22 kB / 0.8012 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.6671, allocations: 12.52 kB / 0.8012 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6671, allocations: 2.156 kB / 0.8012 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.6677, allocations: 0.5096 MB / 0.8017 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.6678, allocations: 121.3 kB / 0.8019 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.6678, allocations: 6.125 kB / 0.8019 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.668, allocations: 14.14 kB / 0.8019 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.668, allocations: 12.98 kB / 0.8019 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.6681, allocations: 6.156 kB / 0.8019 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001231/0.6682, allocations: 147.5 kB / 0.802 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6682, allocations: 5.344 kB / 0.802 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003522/0.6686, allocations: 66 kB / 0.8021 GB, free: 40.69 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.6687, allocations: 104.8 kB / 0.8022 GB, free: 40.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006502/0.6694, allocations: 431.9 kB / 0.8026 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6694, allocations: 0 / 0.8026 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.6696, allocations: 124.2 kB / 0.8027 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.6699, allocations: 42.53 kB / 0.8028 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.671, allocations: 0.6064 MB / 0.8034 GB, free: 39.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.6712, allocations: 0.7694 MB / 0.8041 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.6714, allocations: 59.66 kB / 0.8042 GB, free: 39.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.6715, allocations: 27.41 kB / 0.8042 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6715, allocations: 0.7812 kB / 0.8042 GB, free: 39.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.007284/0.6788, allocations: 2.796 MB / 0.8069 GB, free: 39.12 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)