Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.398/1.398, allocations: 249.5 MB / 257 MB, free: 6.891 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.0009674/0.0009675, allocations: 172.9 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009038/0.0009038, allocations: 91.66 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.255e-05/2.273e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.807/1.017, allocations: 166.5 MB / 1.048 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.017, allocations: 100.9 kB / 1.048 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.2539/1.271, allocations: 104.4 MB / 1.15 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.404e-06/1.271, allocations: 0 / 1.15 GB, free: 6.254 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002/1.271, allocations: 63.98 kB / 1.15 GB, free: 6.191 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.008922/1.28, allocations: 2.451 MB / 1.152 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.28, allocations: 12.03 kB / 1.152 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006518/1.287, allocations: 1.007 MB / 1.153 GB, free: 2.66 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004338/1.291, allocations: 1.644 MB / 1.155 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/1.292, allocations: 100 kB / 1.155 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/1.293, allocations: 172 kB / 1.155 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008162/1.301, allocations: 3.604 MB / 1.159 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/1.314, allocations: 4.305 MB / 1.163 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/1.314, allocations: 7.891 kB / 1.163 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001009/1.315, allocations: 4 kB / 1.163 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002806/1.315, allocations: 193 kB / 1.163 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03232/1.347, allocations: 22.26 MB / 1.185 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004716/1.352, allocations: 3.107 MB / 1.188 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/1.354, allocations: 0.8864 MB / 1.189 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/1.354, allocations: 97.86 kB / 1.189 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/1.354, allocations: 51.28 kB / 1.189 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=82): time 3.537e-06/1.354, allocations: 0 / 1.189 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=82): time 0.002942/1.357, allocations: 1.479 MB / 1.19 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.357, allocations: 218.3 kB / 1.191 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/1.359, allocations: 0.9529 MB / 1.192 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/1.359, allocations: 25.7 kB / 1.192 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001259/1.36, allocations: 1.285 MB / 1.193 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/1.36, allocations: 288.1 kB / 1.193 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/1.361, allocations: 0 / 1.193 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002847/1.361, allocations: 410.7 kB / 1.193 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/1.362, allocations: 0.8198 MB / 1.194 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/1.364, allocations: 1.425 MB / 1.196 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/1.366, allocations: 1.411 MB / 1.197 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/1.366, allocations: 4 kB / 1.197 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004422/1.371, allocations: 2.542 MB / 1.2 GB, free: 324 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002973/1.374, allocations: 7.492 MB / 1.207 GB, free: 8.238 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.923e-05/1.374, allocations: 20 kB / 1.207 GB, free: 8.219 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.314e-05/1.374, allocations: 28 kB / 1.207 GB, free: 8.191 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.376, allocations: 471.2 kB / 1.207 GB, free: 7.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.481e-05/1.376, allocations: 43.8 kB / 1.207 GB, free: 7.688 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/1.378, allocations: 317.8 kB / 1.208 GB, free: 7.375 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/1.378, allocations: 75.98 kB / 1.208 GB, free: 7.301 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/1.378, allocations: 4 kB / 1.208 GB, free: 7.297 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00408/1.382, allocations: 2.237 MB / 1.21 GB, free: 5.059 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.926e-05/1.382, allocations: 20.2 kB / 1.21 GB, free: 5.039 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.144e-05/1.382, allocations: 36 kB / 1.21 GB, free: 5.004 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.384, allocations: 443.2 kB / 1.21 GB, free: 4.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.988e-05/1.384, allocations: 47.8 kB / 1.21 GB, free: 4.523 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/1.385, allocations: 214.6 kB / 1.211 GB, free: 4.312 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/1.385, allocations: 83.98 kB / 1.211 GB, free: 4.23 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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.0003464/1.385, allocations: 156.4 kB / 1.211 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002483/1.388, allocations: 1.471 MB / 1.212 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/1.388, allocations: 98.78 kB / 1.212 GB, free: 2.496 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/1.391, allocations: 1.532 MB / 1.214 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/1.391, allocations: 12 kB / 1.214 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.391, allocations: 0 / 1.214 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.391, allocations: 7.984 kB / 1.214 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007576/1.399, allocations: 3.754 MB / 1.218 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.399, allocations: 4 kB / 1.218 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009973/1.4, allocations: 235.6 kB / 1.218 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.095e-05/1.4, allocations: 8 kB / 1.218 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.416e-05/1.4, allocations: 3.984 kB / 1.218 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/1.4, allocations: 8 kB / 1.218 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.4, allocations: 3.938 kB / 1.218 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002392/1.402, allocations: 1.956 MB / 1.22 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007156/1.403, allocations: 363.4 kB / 1.22 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/1.403, allocations: 7.984 kB / 1.22 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.404, allocations: 107.8 kB / 1.22 GB, free: 10.31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.404, allocations: 52.67 kB / 1.22 GB, free: 10.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/1.404, allocations: 28 kB / 1.22 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001176/1.406, allocations: 0.7333 MB / 1.221 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.406, allocations: 0 / 1.221 GB, free: 9.504 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004578/1.41, allocations: 1.29 MB / 1.222 GB, free: 8.207 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (85): * Single equations (assignments): 85 * 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.002973/1.413, allocations: 2.929 MB / 1.225 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004291/1.417, allocations: 2.763 MB / 1.228 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.417, allocations: 1.125 kB / 1.228 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00077/1.418, allocations: 0.6198 MB / 1.228 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/1.42, allocations: 158.4 kB / 1.229 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.432, allocations: 4.383 MB / 1.233 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003142/1.435, allocations: 2.26 MB / 1.235 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003217/1.438, allocations: 1.152 MB / 1.236 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/1.439, allocations: 0.8195 MB / 1.237 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/1.439, allocations: 0 / 1.237 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5727/2.012, allocations: 31.53 MB / 1.268 GB, free: 250.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/2.012, allocations: 171.5 kB / 1.268 GB, free: 250.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/4.54, allocations: 0 / 1.268 GB, free: 250.1 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)