Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.85/2.85, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001421/0.001421, allocations: 188.8 kB / 360.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001106/0.001105, allocations: 88.62 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.522e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8507/0.8507, allocations: 115.2 MB / 0.9634 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3101/1.161, allocations: 159.1 MB / 1.119 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/1.161, allocations: 97.62 kB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06057/1.222, allocations: 14.1 MB / 1.133 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.823e-06/1.222, allocations: 0 / 1.133 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.239e-05/1.222, allocations: 4 kB / 1.133 GB, free: 15.12 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009445/1.223, allocations: 479.4 kB / 1.133 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.223, allocations: 8.031 kB / 1.133 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/1.224, allocations: 79.62 kB / 1.133 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/1.225, allocations: 239.9 kB / 1.133 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/1.225, allocations: 4 kB / 1.133 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/1.225, allocations: 10.81 kB / 1.133 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005401/1.225, allocations: 180.6 kB / 1.134 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/1.226, allocations: 299.5 kB / 1.134 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/1.226, allocations: 3.984 kB / 1.134 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/1.226, allocations: 0 / 1.134 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.844e-05/1.226, allocations: 16 kB / 1.134 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/1.229, allocations: 1.584 MB / 1.135 GB, free: 12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/1.23, allocations: 399.2 kB / 1.136 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/1.23, allocations: 81.67 kB / 1.136 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/1.23, allocations: 93.09 kB / 1.136 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.23, allocations: 42.45 kB / 1.136 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 2.935e-06/1.23, allocations: 0 / 1.136 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0009671/1.231, allocations: 255.2 kB / 1.136 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/1.231, allocations: 81.11 kB / 1.136 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/1.232, allocations: 139.8 kB / 1.136 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/1.232, allocations: 25.7 kB / 1.137 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/1.232, allocations: 159.8 kB / 1.137 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/1.232, allocations: 47.36 kB / 1.137 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/1.232, allocations: 0 / 1.137 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.232, allocations: 318.8 kB / 1.137 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/1.232, allocations: 71.97 kB / 1.137 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/1.232, allocations: 143.6 kB / 1.137 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/1.233, allocations: 107.9 kB / 1.137 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/1.233, allocations: 8 kB / 1.137 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001553/1.234, allocations: 262.2 kB / 1.138 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001101/1.236, allocations: 0.9641 MB / 1.139 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/1.236, allocations: 4.75 kB / 1.139 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.384e-05/1.236, allocations: 11.95 kB / 1.139 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/1.236, allocations: 55.84 kB / 1.139 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/1.236, allocations: 7.984 kB / 1.139 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/1.237, allocations: 19.83 kB / 1.139 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/1.237, allocations: 12 kB / 1.139 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.237, allocations: 4.781 kB / 1.139 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007031/1.237, allocations: 200.8 kB / 1.139 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/1.238, allocations: 2.156 kB / 1.139 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.238, allocations: 14.12 kB / 1.139 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/1.238, allocations: 47.97 kB / 1.139 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.238, allocations: 7.938 kB / 1.139 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/1.238, allocations: 7.984 kB / 1.139 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/1.238, allocations: 8 kB / 1.139 GB, free: 8.203 MB / 0.7448 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 0.0001626/1.238, allocations: 120.6 kB / 1.139 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007101/1.239, allocations: 189.5 kB / 1.139 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/1.239, allocations: 15.91 kB / 1.139 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006876/1.24, allocations: 202.8 kB / 1.139 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/1.24, allocations: 4 kB / 1.139 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.24, allocations: 0 / 1.139 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.24, allocations: 0 / 1.139 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/1.242, allocations: 0.9074 MB / 1.14 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.242, allocations: 10.39 kB / 1.14 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/1.243, allocations: 35.91 kB / 1.14 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-05/1.243, allocations: 4 kB / 1.14 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/1.243, allocations: 4.094 kB / 1.14 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/1.243, allocations: 4 kB / 1.14 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.243, allocations: 7.938 kB / 1.14 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000833/1.243, allocations: 0.5792 MB / 1.141 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/1.244, allocations: 112.9 kB / 1.141 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/1.244, allocations: 4 kB / 1.141 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/1.244, allocations: 19.08 kB / 1.141 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/1.244, allocations: 15.94 kB / 1.141 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/1.244, allocations: 12 kB / 1.141 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001693/1.244, allocations: 122 kB / 1.141 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.51e-07/1.244, allocations: 3.938 kB / 1.141 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007814/1.245, allocations: 79.98 kB / 1.141 GB, free: 5.5 MB / 0.7448 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.001644/1.247, allocations: 2.029 MB / 1.143 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000854/1.248, allocations: 272.3 kB / 1.144 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.248, allocations: 3.938 kB / 1.144 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001963/1.248, allocations: 77.22 kB / 1.144 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/1.248, allocations: 24.72 kB / 1.144 GB, free: 2.992 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/1.25, allocations: 422 kB / 1.144 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/1.25, allocations: 0.7482 MB / 1.145 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004185/1.251, allocations: 83.41 kB / 1.145 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/1.251, allocations: 47.42 kB / 1.145 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of SimCode: time 1.153e-06/1.251, allocations: 0 / 1.145 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/1.291, allocations: 3.045 MB / 1.148 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003318/1.291, allocations: 176.7 kB / 1.148 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.736, allocations: 2.625 kB / 1.148 GB, free: 14.43 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)