Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001088/0.001088, allocations: 172.9 kB / 361.4 MB, free: 6.82 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.661/1.661, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001136/0.001137, allocations: 94.11 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.612e-05, allocations: 4 kB / 0.8518 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7973/0.7973, allocations: 115.3 MB / 0.9645 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2466/1.044, allocations: 164.1 MB / 1.125 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004146/1.044, allocations: 102.3 kB / 1.125 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04232/1.087, allocations: 16.4 MB / 1.141 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.146e-06/1.087, allocations: 0 / 1.141 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.381e-05/1.087, allocations: 7.984 kB / 1.141 GB, free: 7.062 MB / 0.7448 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.001377/1.088, allocations: 0.5177 MB / 1.141 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.518e-05/1.088, allocations: 15.03 kB / 1.141 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/1.089, allocations: 92.64 kB / 1.141 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/1.09, allocations: 261.5 kB / 1.142 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/1.09, allocations: 4 kB / 1.142 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-05/1.09, allocations: 12 kB / 1.142 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004673/1.091, allocations: 229.7 kB / 1.142 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/1.091, allocations: 324.2 kB / 1.142 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/1.091, allocations: 4 kB / 1.142 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/1.091, allocations: 0 / 1.142 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/1.091, allocations: 24.42 kB / 1.142 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/1.094, allocations: 1.482 MB / 1.144 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/1.094, allocations: 218.8 kB / 1.144 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/1.094, allocations: 112.8 kB / 1.144 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/1.094, allocations: 81.11 kB / 1.144 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/1.095, allocations: 42.5 kB / 1.144 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 2.004e-06/1.095, allocations: 0 / 1.144 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0017/1.096, allocations: 0.7123 MB / 1.145 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/1.096, allocations: 51.41 kB / 1.145 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/1.096, allocations: 165.4 kB / 1.145 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/1.097, allocations: 25.7 kB / 1.145 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/1.097, allocations: 159.9 kB / 1.145 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/1.097, allocations: 75 kB / 1.145 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/1.097, allocations: 0 / 1.145 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.097, allocations: 323 kB / 1.146 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/1.097, allocations: 108 kB / 1.146 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/1.097, allocations: 150.8 kB / 1.146 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/1.098, allocations: 155.8 kB / 1.146 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.098, allocations: 0 / 1.146 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008731/1.099, allocations: 406.1 kB / 1.146 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/1.099, allocations: 7.938 kB / 1.146 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.099, allocations: 4 kB / 1.146 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000402/1.099, allocations: 92.77 kB / 1.146 GB, free: 0.8672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/1.099, allocations: 49.97 kB / 1.147 GB, free: 0.8203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/1.101, allocations: 1.67 MB / 1.148 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/1.102, allocations: 12.02 kB / 1.148 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/1.102, allocations: 8 kB / 1.148 GB, free: 15.02 MB / 0.7605 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 () * 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.00012/1.102, allocations: 104.9 kB / 1.148 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004829/1.102, allocations: 275 kB / 1.149 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/1.102, allocations: 15.81 kB / 1.149 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005874/1.103, allocations: 291.5 kB / 1.149 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.103, allocations: 4 kB / 1.149 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/1.103, allocations: 0 / 1.149 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/1.103, allocations: 3.984 kB / 1.149 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/1.104, allocations: 0.6628 MB / 1.149 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/1.104, allocations: 0 / 1.149 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/1.104, allocations: 59.95 kB / 1.15 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.104, allocations: 4 kB / 1.15 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/1.104, allocations: 0 / 1.15 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/1.104, allocations: 4 kB / 1.15 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.104, allocations: 0 / 1.15 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/1.105, allocations: 0.5379 MB / 1.15 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/1.105, allocations: 116.9 kB / 1.15 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/1.105, allocations: 0 / 1.15 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/1.105, allocations: 15.05 kB / 1.15 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/1.105, allocations: 19.12 kB / 1.15 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/1.105, allocations: 4 kB / 1.15 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001131/1.106, allocations: 133.5 kB / 1.15 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.91e-07/1.106, allocations: 0 / 1.15 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004247/1.106, allocations: 72 kB / 1.15 GB, free: 12.61 MB / 0.7605 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 () * 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.0011/1.107, allocations: 1.234 MB / 1.152 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006949/1.108, allocations: 393.3 kB / 1.152 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.108, allocations: 4 kB / 1.152 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/1.108, allocations: 113.8 kB / 1.152 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/1.108, allocations: 23.11 kB / 1.152 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/1.11, allocations: 0.5644 MB / 1.153 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/1.11, allocations: 0.7789 MB / 1.153 GB, free: 9.406 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001967/1.11, allocations: 59.83 kB / 1.153 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/1.11, allocations: 67.91 kB / 1.154 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of SimCode: time 4.51e-07/1.11, allocations: 0 / 1.154 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/1.14, allocations: 4.106 MB / 1.158 GB, free: 5.258 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/1.14, allocations: 167.7 kB / 1.158 GB, free: 5.066 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/3.065, allocations: 0 / 1.158 GB, free: 5.066 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)