Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 108.6 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 189.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7758/0.7758, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 58.22 kB / 0.568 GB, free: 29.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1498, allocations: 77.92 MB / 0.6441 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02112/0.1709, allocations: 17.18 MB / 0.6608 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009997/0.181, allocations: 5.845 MB / 0.6665 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001397/0.1824, allocations: 55.88 kB / 0.6666 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003634/0.1861, allocations: 1.297 MB / 0.6679 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002264/0.1884, allocations: 0.8402 MB / 0.6687 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.1918, allocations: 1.336 MB / 0.67 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00557/0.1974, allocations: 4.299 MB / 0.6742 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00899/0.2064, allocations: 6.802 MB / 0.6808 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.2102, allocations: 1.925 MB / 0.6827 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003984/0.2142, allocations: 2.283 MB / 0.6849 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.2156, allocations: 448 kB / 0.6854 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.2178, allocations: 0.8545 MB / 0.6862 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002515/0.2203, allocations: 1.719 MB / 0.6879 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003197/0.2235, allocations: 1.759 MB / 0.6896 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00776/0.2313, allocations: 6.398 MB / 0.6958 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.2313, allocations: 0 / 0.6958 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.484e-06/0.2314, allocations: 0 / 0.6958 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002239/0.2316, allocations: 0 / 0.6958 GB, free: 4.301 MB / 0.5294 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.007428/0.239, allocations: 3.138 MB / 0.6989 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.2391, allocations: 12.62 kB / 0.6989 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006888/0.2398, allocations: 462.7 kB / 0.6994 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005277/0.2451, allocations: 1.134 MB / 0.7005 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003697/0.2488, allocations: 1.628 MB / 0.7021 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.249, allocations: 230.3 kB / 0.7023 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005966/0.2496, allocations: 300.3 kB / 0.7026 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009526/0.2591, allocations: 5.296 MB / 0.7077 GB, free: 7.898 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.787e-05/0.2592, allocations: 7.938 kB / 0.7077 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000346/0.2596, allocations: 124 kB / 0.7079 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/0.2598, allocations: 201.1 kB / 0.7081 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007753/0.2676, allocations: 4.759 MB / 0.7127 GB, free: 2.797 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0255/0.2931, allocations: 23.04 MB / 0.7352 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004476/0.2976, allocations: 3.171 MB / 0.7383 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.2989, allocations: 0.9173 MB / 0.7392 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.2991, allocations: 109.7 kB / 0.7393 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.2992, allocations: 47.22 kB / 0.7393 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/0.2992, allocations: 0 / 0.7393 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003344/0.3025, allocations: 2.082 MB / 0.7414 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.3026, allocations: 222.2 kB / 0.7416 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.3041, allocations: 1.098 MB / 0.7427 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-05/0.3042, allocations: 41.7 kB / 0.7427 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008014/0.305, allocations: 1.333 MB / 0.744 GB, free: 96 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.2931/0.5981, allocations: 309.7 kB / 0.7443 GB, free: 91.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009437/0.5991, allocations: 359.2 kB / 0.7446 GB, free: 91.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5992, allocations: 336.7 kB / 0.745 GB, free: 91.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.601, allocations: 0.8945 MB / 0.7458 GB, free: 91.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.6028, allocations: 1.513 MB / 0.7473 GB, free: 90.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00285/0.6057, allocations: 2.358 MB / 0.7496 GB, free: 89.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/0.6057, allocations: 5.812 kB / 0.7496 GB, free: 89.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004223/0.6099, allocations: 2.491 MB / 0.7521 GB, free: 88.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.61, allocations: 17.45 kB / 0.7521 GB, free: 88.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.206e-05/0.61, allocations: 19.38 kB / 0.7521 GB, free: 88.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.384e-05/0.6101, allocations: 28.11 kB / 0.7521 GB, free: 88.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.6119, allocations: 461.1 kB / 0.7526 GB, free: 88.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.145e-05/0.612, allocations: 40.2 kB / 0.7526 GB, free: 88.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.6136, allocations: 355.7 kB / 0.7529 GB, free: 88.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.6137, allocations: 84.45 kB / 0.753 GB, free: 88.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002653/0.6164, allocations: 1.901 MB / 0.7549 GB, free: 87.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001537/0.6179, allocations: 1.433 MB / 0.7563 GB, free: 86.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002503/0.6204, allocations: 2.204 MB / 0.7584 GB, free: 85.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.396e-05/0.6205, allocations: 6.281 kB / 0.7584 GB, free: 85.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003726/0.6242, allocations: 2.334 MB / 0.7607 GB, free: 84.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.6242, allocations: 13.72 kB / 0.7607 GB, free: 84.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.6243, allocations: 19.31 kB / 0.7607 GB, free: 84.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.6243, allocations: 33.94 kB / 0.7608 GB, free: 84.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/0.6258, allocations: 447.9 kB / 0.7612 GB, free: 84.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-05/0.6259, allocations: 39.28 kB / 0.7612 GB, free: 84.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.6275, allocations: 290.1 kB / 0.7615 GB, free: 84.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.6276, allocations: 77.09 kB / 0.7616 GB, free: 84.34 MB / 0.5762 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004436/0.6281, allocations: 283.5 kB / 0.7619 GB, free: 84.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002652/0.6283, allocations: 108.3 kB / 0.762 GB, free: 84.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/0.6304, allocations: 1.557 MB / 0.7635 GB, free: 83.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.6304, allocations: 17 kB / 0.7635 GB, free: 83.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6304, allocations: 4.219 kB / 0.7635 GB, free: 83.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.6305, allocations: 5.203 kB / 0.7635 GB, free: 83.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005847/0.6363, allocations: 4.478 MB / 0.7679 GB, free: 81.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.6363, allocations: 3.562 kB / 0.7679 GB, free: 81.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009405/0.6373, allocations: 243.3 kB / 0.7681 GB, free: 81.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.6373, allocations: 4.125 kB / 0.7681 GB, free: 81.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.6374, allocations: 25.08 kB / 0.7681 GB, free: 81.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.6374, allocations: 13.44 kB / 0.7682 GB, free: 81.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6374, allocations: 1.375 kB / 0.7682 GB, free: 81.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00167/0.6391, allocations: 1.913 MB / 0.77 GB, free: 80.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.6396, allocations: 326.1 kB / 0.7703 GB, free: 80.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.6397, allocations: 25.77 kB / 0.7704 GB, free: 80.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/0.6406, allocations: 119.3 kB / 0.7705 GB, free: 80.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.6407, allocations: 52.03 kB / 0.7705 GB, free: 80.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.6408, allocations: 19.81 kB / 0.7705 GB, free: 80.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008001/0.6416, allocations: 0.8091 MB / 0.7713 GB, free: 79.92 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6416, allocations: 0 / 0.7713 GB, free: 79.92 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002731/0.6443, allocations: 1.322 MB / 0.7726 GB, free: 79.65 MB / 0.5762 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/0.6461, allocations: 2.471 MB / 0.775 GB, free: 78.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003563/0.6497, allocations: 2.986 MB / 0.7779 GB, free: 76.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6497, allocations: 0.875 kB / 0.7779 GB, free: 76.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006729/0.6504, allocations: 0.6633 MB / 0.7786 GB, free: 75.56 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.6518, allocations: 197 kB / 0.7788 GB, free: 75.39 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.6674, allocations: 15.24 MB / 0.7937 GB, free: 59.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.669, allocations: 2.202 MB / 0.7958 GB, free: 57.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001978/0.671, allocations: 1.103 MB / 0.7969 GB, free: 56.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008835/0.6719, allocations: 0.8351 MB / 0.7977 GB, free: 55.32 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/0.6719, allocations: 0 / 0.7977 GB, free: 55.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0462/0.7181, allocations: 32.03 MB / 0.829 GB, free: 23.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.751/10.47, allocations: 2.344 kB / 0.829 GB, free: 23.59 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)