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.001193/0.001194, allocations: 107.7 kB / 16.41 MB, free: 6.492 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.001071/0.001071, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.225/1.225, 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.7045/0.7045, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 70.62 kB / 0.568 GB, free: 28.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1255, allocations: 77.92 MB / 0.6441 GB, free: 9.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.0198/0.1453, allocations: 17.17 MB / 0.6608 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009078/0.1544, allocations: 5.849 MB / 0.6665 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008642/0.1553, allocations: 55.81 kB / 0.6666 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002984/0.1584, allocations: 1.297 MB / 0.6679 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.16, allocations: 0.8284 MB / 0.6687 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.163, allocations: 1.338 MB / 0.67 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004042/0.167, allocations: 4.295 MB / 0.6742 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007022/0.1741, allocations: 6.796 MB / 0.6808 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.1765, allocations: 1.909 MB / 0.6827 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003158/0.1797, allocations: 2.291 MB / 0.6849 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0009641/0.1807, allocations: 444 kB / 0.6853 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.1825, allocations: 0.8506 MB / 0.6862 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001678/0.1842, allocations: 1.719 MB / 0.6878 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.1862, allocations: 1.759 MB / 0.6896 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0058/0.192, allocations: 6.382 MB / 0.6958 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1921, allocations: 0 / 0.6958 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1921, allocations: 0 / 0.6958 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.992e-05/0.1922, allocations: 0 / 0.6958 GB, free: 4.34 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.005812/0.198, allocations: 3.08 MB / 0.6988 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.198, allocations: 8.625 kB / 0.6988 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006406/0.1987, allocations: 462.7 kB / 0.6992 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/0.2037, allocations: 1.121 MB / 0.7003 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00337/0.207, allocations: 1.628 MB / 0.7019 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.2072, allocations: 226.3 kB / 0.7021 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006074/0.2078, allocations: 292.4 kB / 0.7024 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008334/0.2162, allocations: 5.309 MB / 0.7076 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.654e-05/0.2163, allocations: 11.94 kB / 0.7076 GB, free: 8.004 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000327/0.2166, allocations: 124 kB / 0.7077 GB, free: 7.883 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.2168, allocations: 205.1 kB / 0.7079 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007614/0.2244, allocations: 4.759 MB / 0.7126 GB, free: 2.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02802/0.2525, allocations: 22.99 MB / 0.735 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005226/0.2578, allocations: 3.171 MB / 0.7381 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.2592, allocations: 0.9173 MB / 0.739 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.2594, allocations: 113.7 kB / 0.7391 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.2595, allocations: 51.16 kB / 0.7392 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 3.296e-06/0.2595, allocations: 0 / 0.7392 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.003297/0.2628, allocations: 2.077 MB / 0.7412 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.2629, allocations: 222.2 kB / 0.7414 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.2645, allocations: 1.099 MB / 0.7425 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-05/0.2646, allocations: 41.7 kB / 0.7425 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008415/0.2654, allocations: 1.285 MB / 0.7438 GB, free: 296 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.2608/0.5262, allocations: 297 kB / 0.7441 GB, free: 91.96 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008319/0.5271, allocations: 348.3 kB / 0.7444 GB, free: 91.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.5272, allocations: 337.6 kB / 0.7447 GB, free: 91.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.5287, allocations: 0.8942 MB / 0.7456 GB, free: 91.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.5303, allocations: 1.516 MB / 0.7471 GB, free: 90.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002572/0.5328, allocations: 2.36 MB / 0.7494 GB, free: 89.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-05/0.5329, allocations: 5.75 kB / 0.7494 GB, free: 89.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004168/0.537, allocations: 2.491 MB / 0.7518 GB, free: 88.69 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.5371, allocations: 18.75 kB / 0.7518 GB, free: 88.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.147e-05/0.5372, allocations: 19.72 kB / 0.7519 GB, free: 88.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.227e-05/0.5373, allocations: 27.59 kB / 0.7519 GB, free: 88.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.539, allocations: 464.9 kB / 0.7523 GB, free: 88.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.847e-05/0.5391, allocations: 39.58 kB / 0.7524 GB, free: 88.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5406, allocations: 346.4 kB / 0.7527 GB, free: 88.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.5407, allocations: 83.16 kB / 0.7528 GB, free: 88.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002733/0.5434, allocations: 1.904 MB / 0.7546 GB, free: 87.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001512/0.545, allocations: 1.435 MB / 0.756 GB, free: 86.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002439/0.5474, allocations: 2.203 MB / 0.7582 GB, free: 85.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.146e-05/0.5474, allocations: 9.844 kB / 0.7582 GB, free: 85.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003432/0.5509, allocations: 2.325 MB / 0.7605 GB, free: 84.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5509, allocations: 13.72 kB / 0.7605 GB, free: 84.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.5509, allocations: 21.62 kB / 0.7605 GB, free: 84.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.551, allocations: 28.28 kB / 0.7605 GB, free: 84.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5523, allocations: 443.5 kB / 0.7609 GB, free: 84.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.633e-05/0.5524, allocations: 40 kB / 0.761 GB, free: 84.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.5538, allocations: 287.9 kB / 0.7613 GB, free: 84.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5539, allocations: 81.58 kB / 0.7613 GB, free: 84.46 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.0003713/0.5543, allocations: 281.2 kB / 0.7616 GB, free: 84.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.5545, allocations: 101.7 kB / 0.7617 GB, free: 84.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.5566, allocations: 1.56 MB / 0.7632 GB, free: 83.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.5567, allocations: 9.844 kB / 0.7632 GB, free: 83.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5567, allocations: 5.344 kB / 0.7632 GB, free: 83.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.5567, allocations: 6.297 kB / 0.7632 GB, free: 83.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/0.5623, allocations: 4.475 MB / 0.7676 GB, free: 81.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.5624, allocations: 1.781 kB / 0.7676 GB, free: 81.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008848/0.5633, allocations: 247.8 kB / 0.7679 GB, free: 81.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.5633, allocations: 5.5 kB / 0.7679 GB, free: 81.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.5633, allocations: 17.5 kB / 0.7679 GB, free: 81.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.5633, allocations: 8.125 kB / 0.7679 GB, free: 81.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5634, allocations: 6.688 kB / 0.7679 GB, free: 81.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.565, allocations: 1.907 MB / 0.7698 GB, free: 80.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000494/0.5655, allocations: 321 kB / 0.7701 GB, free: 80.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.5656, allocations: 19.81 kB / 0.7701 GB, free: 80.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007971/0.5664, allocations: 124 kB / 0.7702 GB, free: 80.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.5665, allocations: 51.41 kB / 0.7702 GB, free: 80.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.5666, allocations: 19.72 kB / 0.7703 GB, free: 80.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007629/0.5674, allocations: 0.8004 MB / 0.771 GB, free: 80.03 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5674, allocations: 3.938 kB / 0.7711 GB, free: 80.03 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002643/0.57, allocations: 1.302 MB / 0.7723 GB, free: 79.61 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.001667/0.5717, allocations: 2.471 MB / 0.7747 GB, free: 78.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003274/0.575, allocations: 2.992 MB / 0.7777 GB, free: 76.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.575, allocations: 0 / 0.7777 GB, free: 76.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.5756, allocations: 0.6595 MB / 0.7783 GB, free: 75.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.5769, allocations: 203.3 kB / 0.7785 GB, free: 75.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.593, allocations: 15.15 MB / 0.7933 GB, free: 59.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/0.5947, allocations: 2.21 MB / 0.7955 GB, free: 57.47 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001966/0.5967, allocations: 1.095 MB / 0.7965 GB, free: 56.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000855/0.5976, allocations: 0.8351 MB / 0.7973 GB, free: 55.54 MB / 0.5762 GB Notification: Performance of SimCode: time 7.12e-07/0.5976, allocations: 0 / 0.7973 GB, free: 55.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04504/0.6426, allocations: 32.03 MB / 0.8286 GB, free: 23.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.728/9.371, allocations: 0 / 0.8286 GB, free: 23.82 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)