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.001085/0.001085, allocations: 106.5 kB / 15.99 MB, free: 5.914 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.001182/0.001183, allocations: 194 kB / 16.91 MB, free: 5.758 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.483/1.483, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.735/1.735, allocations: 292.3 MB / 0.5492 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.001315/0.001315, allocations: 67.91 kB / 0.6717 GB, free: 6.922 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2263, allocations: 114.5 MB / 0.7835 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004411/0.2307, allocations: 3.119 MB / 0.7866 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3533/0.5841, allocations: 1.71 MB / 0.7882 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.5843, allocations: 2.688 kB / 0.7882 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009902/0.5854, allocations: 312.8 kB / 0.7885 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005607/0.586, allocations: 202.4 kB / 0.7887 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.5865, allocations: 158.5 kB / 0.7889 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000312/0.5868, allocations: 322 kB / 0.7892 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004481/0.5873, allocations: 274.6 kB / 0.7894 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.5874, allocations: 138.8 kB / 0.7896 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.5877, allocations: 167.4 kB / 0.7897 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.375e-05/0.5878, allocations: 18.88 kB / 0.7898 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.5882, allocations: 248 kB / 0.79 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.4e-05/0.5883, allocations: 102.3 kB / 0.7901 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.5884, allocations: 121.2 kB / 0.7902 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.5887, allocations: 330.1 kB / 0.7905 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5887, allocations: 0 / 0.7905 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5888, allocations: 2.688 kB / 0.7905 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.5888, allocations: 0 / 0.7905 GB, free: 45.83 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.000882/0.5897, allocations: 0.5456 MB / 0.7911 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.5897, allocations: 9.094 kB / 0.7911 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007001/0.5904, allocations: 100.7 kB / 0.7912 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.5907, allocations: 250.8 kB / 0.7914 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.5907, allocations: 19.38 kB / 0.7914 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.5908, allocations: 25.16 kB / 0.7914 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.5913, allocations: 374.6 kB / 0.7918 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5914, allocations: 7.938 kB / 0.7918 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.5914, allocations: 12.75 kB / 0.7918 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.987e-05/0.5915, allocations: 25.66 kB / 0.7918 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.5919, allocations: 311.4 kB / 0.7921 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.5934, allocations: 1.523 MB / 0.7936 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.5938, allocations: 238.9 kB / 0.7939 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.5939, allocations: 116.3 kB / 0.794 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.594, allocations: 90.95 kB / 0.7941 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.5941, allocations: 34.28 kB / 0.7941 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.5941, allocations: 0.5 kB / 0.7941 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001113/0.5952, allocations: 0.7801 MB / 0.7949 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.5952, allocations: 57.62 kB / 0.7949 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.5954, allocations: 194.3 kB / 0.7951 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.5954, allocations: 29.08 kB / 0.7951 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.5955, allocations: 162.2 kB / 0.7953 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.509e-05/0.5955, allocations: 70.34 kB / 0.7953 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.682e-05/0.5956, allocations: 53.67 kB / 0.7954 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.5957, allocations: 334.8 kB / 0.7957 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.5958, allocations: 113.9 kB / 0.7958 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.596, allocations: 177 kB / 0.796 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003111/0.5963, allocations: 296.9 kB / 0.7963 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5963, allocations: 4.469 kB / 0.7963 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006697/0.597, allocations: 415.9 kB / 0.7967 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.597, allocations: 8 kB / 0.7967 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.597, allocations: 0 / 0.7967 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/0.5975, allocations: 104.6 kB / 0.7968 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.5977, allocations: 46.92 kB / 0.7968 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.5993, allocations: 1.879 MB / 0.7987 GB, free: 41.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.5996, allocations: 20.31 kB / 0.7987 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.5996, allocations: 9.75 kB / 0.7987 GB, free: 41.33 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.0001611/0.5998, allocations: 157.5 kB / 0.7988 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.5998, allocations: 20.59 kB / 0.7989 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.6003, allocations: 300.4 kB / 0.7991 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.6003, allocations: 1.828 kB / 0.7991 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.6003, allocations: 2.812 kB / 0.7991 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.6003, allocations: 5.062 kB / 0.7992 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007592/0.6011, allocations: 0.7089 MB / 0.7998 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6011, allocations: 1.969 kB / 0.7998 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.6014, allocations: 53.73 kB / 0.7999 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.6014, allocations: 2.219 kB / 0.7999 GB, free: 40.85 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.6014, allocations: 10.75 kB / 0.7999 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.6014, allocations: 3.75 kB / 0.7999 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6015, allocations: 9.203 kB / 0.7999 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.602, allocations: 0.5084 MB / 0.8004 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.6021, allocations: 117.4 kB / 0.8005 GB, free: 40.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.6022, allocations: 7.594 kB / 0.8005 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.6024, allocations: 11 kB / 0.8006 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.6024, allocations: 20.27 kB / 0.8006 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.6024, allocations: 4.734 kB / 0.8006 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001256/0.6026, allocations: 142.7 kB / 0.8007 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6026, allocations: 8 kB / 0.8007 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003893/0.603, allocations: 65.38 kB / 0.8008 GB, free: 40.42 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.0001491/0.6031, allocations: 107.7 kB / 0.8009 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007598/0.6039, allocations: 450.4 kB / 0.8013 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6039, allocations: 0 / 0.8013 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.6041, allocations: 122.7 kB / 0.8014 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.6045, allocations: 35.84 kB / 0.8015 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.6057, allocations: 0.7565 MB / 0.8022 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.6059, allocations: 0.7744 MB / 0.803 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.606, allocations: 22.12 kB / 0.803 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.606, allocations: 0 / 0.803 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.007707/0.6138, allocations: 3.606 MB / 0.8065 GB, free: 38.64 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)