Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.514/1.514, allocations: 249.3 MB / 261.8 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.2 MB / 0.572 GB, free: 10.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 94.52 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.429e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2471, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8964/1.144, allocations: 153.6 MB / 1.042 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004115/1.144, allocations: 90.31 kB / 1.042 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.03499/1.179, allocations: 14.16 MB / 1.056 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.913e-06/1.179, allocations: 0 / 1.056 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.808e-05/1.179, allocations: 4 kB / 1.056 GB, free: 2.824 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007155/1.18, allocations: 469.8 kB / 1.056 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.18, allocations: 12.03 kB / 1.056 GB, free: 2.316 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.341e-05/1.18, allocations: 52.48 kB / 1.056 GB, free: 2.266 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006744/1.181, allocations: 87.58 kB / 1.056 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/1.181, allocations: 226.7 kB / 1.057 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/1.181, allocations: 11.52 kB / 1.057 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/1.181, allocations: 18.31 kB / 1.057 GB, free: 1.914 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/1.182, allocations: 311.6 kB / 1.057 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/1.182, allocations: 0 / 1.057 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/1.182, allocations: 7.375 kB / 1.057 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/1.182, allocations: 19.42 kB / 1.057 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/1.182, allocations: 241.8 kB / 1.057 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/1.184, allocations: 1.635 MB / 1.059 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006562/1.185, allocations: 416.2 kB / 1.059 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/1.185, allocations: 89.61 kB / 1.059 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/1.185, allocations: 85.11 kB / 1.059 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/1.185, allocations: 38.55 kB / 1.059 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/1.185, allocations: 0 / 1.059 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14): time 0.0005783/1.186, allocations: 246.9 kB / 1.06 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/1.186, allocations: 84.14 kB / 1.06 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/1.186, allocations: 155.5 kB / 1.06 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/1.186, allocations: 29.7 kB / 1.06 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.936e-05/1.186, allocations: 154.2 kB / 1.06 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.246e-05/1.186, allocations: 49.58 kB / 1.06 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/1.186, allocations: 3.312 kB / 1.06 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.186, allocations: 325.5 kB / 1.06 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.186, allocations: 71.53 kB / 1.06 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/1.186, allocations: 150.6 kB / 1.061 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/1.187, allocations: 95.5 kB / 1.061 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/1.187, allocations: 0 / 1.061 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003726/1.187, allocations: 269.1 kB / 1.061 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004287/1.187, allocations: 0.9656 MB / 1.062 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/1.187, allocations: 4 kB / 1.062 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.187, allocations: 4 kB / 1.062 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/1.188, allocations: 55.7 kB / 1.062 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/1.188, allocations: 7.938 kB / 1.062 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/1.188, allocations: 23.52 kB / 1.062 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/1.188, allocations: 8 kB / 1.062 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-06/1.188, allocations: 7.938 kB / 1.062 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003289/1.188, allocations: 211.9 kB / 1.062 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/1.188, allocations: 3.984 kB / 1.062 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-06/1.188, allocations: 4 kB / 1.062 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/1.189, allocations: 51.91 kB / 1.062 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.189, allocations: 4 kB / 1.062 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.905e-05/1.189, allocations: 11.61 kB / 1.062 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/1.189, allocations: 12 kB / 1.062 GB, free: 12.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.484e-05/1.189, allocations: 119.8 kB / 1.062 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/1.189, allocations: 15.81 kB / 1.062 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/1.189, allocations: 203.6 kB / 1.063 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.189, allocations: 0 / 1.063 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.189, allocations: 4 kB / 1.063 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/1.189, allocations: 4 kB / 1.063 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/1.191, allocations: 0.9661 MB / 1.064 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.191, allocations: 4 kB / 1.064 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/1.191, allocations: 31.97 kB / 1.064 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/1.191, allocations: 11.94 kB / 1.064 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/1.191, allocations: 7.812 kB / 1.064 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/1.191, allocations: 8.375 kB / 1.064 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/1.191, allocations: 12 kB / 1.064 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/1.191, allocations: 0.5711 MB / 1.064 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/1.192, allocations: 120.2 kB / 1.064 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/1.192, allocations: 4 kB / 1.064 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/1.192, allocations: 11.98 kB / 1.064 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/1.192, allocations: 23.5 kB / 1.064 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/1.192, allocations: 8 kB / 1.064 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001124/1.192, allocations: 132.8 kB / 1.064 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/1.192, allocations: 4 kB / 1.064 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005166/1.192, allocations: 82.12 kB / 1.065 GB, free: 10 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001325/1.194, allocations: 2.024 MB / 1.067 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000483/1.194, allocations: 296.6 kB / 1.067 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.194, allocations: 0 / 1.067 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001152/1.194, allocations: 81.77 kB / 1.067 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/1.195, allocations: 27.14 kB / 1.067 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/1.196, allocations: 449.4 kB / 1.067 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/1.196, allocations: 0.7507 MB / 1.068 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002348/1.197, allocations: 89.47 kB / 1.068 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/1.197, allocations: 51.17 kB / 1.068 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/1.197, allocations: 4 kB / 1.068 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/1.213, allocations: 3.467 MB / 1.072 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/1.213, allocations: 199.2 kB / 1.072 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.923, allocations: 0 / 1.072 GB, free: 2.754 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)