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/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.796/1.796, allocations: 292.6 MB / 307.5 MB, free: 5.238 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 177.1 kB / 377.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 0.6366 GB, free: 8.652 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009372/0.0009371, allocations: 97.2 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2831, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7782/1.061, allocations: 165.8 MB / 1.15 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/1.062, allocations: 96.08 kB / 1.15 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03947/1.101, allocations: 16.57 MB / 1.167 GB, free: 20 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.043e-06/1.101, allocations: 0 / 1.167 GB, free: 20 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.85e-05/1.101, allocations: 8 kB / 1.167 GB, free: 12 kB / 0.7292 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.001021/1.102, allocations: 0.5355 MB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/1.102, allocations: 12.02 kB / 1.167 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.868e-05/1.102, allocations: 58.55 kB / 1.167 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000819/1.103, allocations: 101.6 kB / 1.167 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/1.104, allocations: 259.1 kB / 1.168 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/1.104, allocations: 23.88 kB / 1.168 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/1.104, allocations: 20 kB / 1.168 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006271/1.105, allocations: 357 kB / 1.168 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/1.105, allocations: 0.6875 kB / 1.168 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/1.105, allocations: 12 kB / 1.168 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/1.105, allocations: 20.42 kB / 1.168 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005221/1.105, allocations: 309.5 kB / 1.168 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/1.107, allocations: 1.533 MB / 1.17 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/1.108, allocations: 230.4 kB / 1.17 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/1.108, allocations: 89.09 kB / 1.17 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/1.108, allocations: 31.81 kB / 1.17 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.413e-06/1.108, allocations: 0 / 1.17 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.00134/1.109, allocations: 0.7943 MB / 1.171 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/1.109, allocations: 59.34 kB / 1.171 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/1.11, allocations: 173.8 kB / 1.171 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/1.11, allocations: 29.7 kB / 1.171 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/1.11, allocations: 159.8 kB / 1.171 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/1.11, allocations: 67.09 kB / 1.171 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/1.11, allocations: 4 kB / 1.171 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.11, allocations: 330.8 kB / 1.172 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/1.11, allocations: 107.9 kB / 1.172 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/1.11, allocations: 173.7 kB / 1.172 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/1.111, allocations: 135.9 kB / 1.172 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/1.111, allocations: 0 / 1.172 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007541/1.111, allocations: 415.6 kB / 1.172 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.111, allocations: 4 kB / 1.172 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.111, allocations: 0 / 1.172 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/1.112, allocations: 104.9 kB / 1.173 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/1.112, allocations: 47.97 kB / 1.173 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/1.114, allocations: 1.772 MB / 1.174 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/1.114, allocations: 16.02 kB / 1.174 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/1.114, allocations: 8 kB / 1.174 GB, free: 7.535 MB / 0.7448 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.0001951/1.115, allocations: 157.8 kB / 1.175 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/1.115, allocations: 15.88 kB / 1.175 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005293/1.115, allocations: 305.9 kB / 1.175 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.115, allocations: 0 / 1.175 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/1.115, allocations: 0 / 1.175 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.115, allocations: 0 / 1.175 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009902/1.116, allocations: 0.7128 MB / 1.176 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.116, allocations: 0 / 1.176 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/1.116, allocations: 60.7 kB / 1.176 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.116, allocations: 4 kB / 1.176 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/1.117, allocations: 3.984 kB / 1.176 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/1.117, allocations: 4 kB / 1.176 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/1.117, allocations: 3.953 kB / 1.176 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006692/1.117, allocations: 0.5379 MB / 1.176 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/1.117, allocations: 113.8 kB / 1.176 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/1.117, allocations: 11.95 kB / 1.176 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/1.118, allocations: 11.98 kB / 1.176 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/1.118, allocations: 11.98 kB / 1.176 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/1.118, allocations: 8 kB / 1.176 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001289/1.118, allocations: 151.2 kB / 1.176 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.118, allocations: 0 / 1.176 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003944/1.118, allocations: 75.98 kB / 1.176 GB, free: 5.242 MB / 0.7448 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001064/1.119, allocations: 1.23 MB / 1.178 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007642/1.12, allocations: 411.8 kB / 1.178 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.12, allocations: 4 kB / 1.178 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001732/1.12, allocations: 128.2 kB / 1.178 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/1.121, allocations: 29.56 kB / 1.178 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/1.124, allocations: 2.591 MB / 1.181 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/1.124, allocations: 0.7868 MB / 1.182 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001884/1.124, allocations: 60.08 kB / 1.182 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/1.124, allocations: 67.41 kB / 1.182 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of SimCode: time 4.51e-07/1.124, allocations: 0 / 1.182 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/1.144, allocations: 4.635 MB / 1.186 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/1.144, allocations: 225.5 kB / 1.186 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/3.002, allocations: 3.375 kB / 1.186 GB, free: 11.14 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)