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.001095/0.001095, allocations: 97.89 kB / 16.4 MB, free: 6.438 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.001214/0.001214, allocations: 195.8 kB / 17.34 MB, free: 5.73 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6712/0.6712, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.53 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 76.18 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01862/0.1602, allocations: 17.17 MB / 0.6484 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009064/0.1693, allocations: 5.838 MB / 0.6541 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.1706, allocations: 51.88 kB / 0.6541 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003171/0.1739, allocations: 1.309 MB / 0.6554 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.176, allocations: 0.8362 MB / 0.6562 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.1791, allocations: 1.337 MB / 0.6575 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004226/0.1834, allocations: 4.287 MB / 0.6617 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006811/0.1902, allocations: 6.812 MB / 0.6683 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.1928, allocations: 1.929 MB / 0.6702 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.1965, allocations: 2.283 MB / 0.6725 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.00171/0.1982, allocations: 452 kB / 0.6729 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002963/0.2012, allocations: 0.8467 MB / 0.6737 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002735/0.204, allocations: 1.723 MB / 0.6754 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002413/0.2064, allocations: 1.755 MB / 0.6771 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005705/0.2121, allocations: 6.374 MB / 0.6833 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.2122, allocations: 0 / 0.6833 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2122, allocations: 3.938 kB / 0.6833 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001344/0.2123, allocations: 0 / 0.6833 GB, free: 15.7 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.006634/0.2189, allocations: 3.08 MB / 0.6863 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.219, allocations: 19.97 kB / 0.6864 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006307/0.2196, allocations: 462.7 kB / 0.6868 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/0.2246, allocations: 1.109 MB / 0.6879 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004045/0.2286, allocations: 1.627 MB / 0.6895 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.2288, allocations: 230.3 kB / 0.6897 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000711/0.2296, allocations: 292.4 kB / 0.69 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008846/0.2384, allocations: 5.3 MB / 0.6952 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-05/0.2385, allocations: 7.922 kB / 0.6952 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003413/0.2389, allocations: 124 kB / 0.6953 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002437/0.2391, allocations: 213.1 kB / 0.6955 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008233/0.2473, allocations: 4.756 MB / 0.7001 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02773/0.2751, allocations: 22.99 MB / 0.7226 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/0.2795, allocations: 3.183 MB / 0.7257 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.2808, allocations: 0.9173 MB / 0.7266 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.281, allocations: 109.7 kB / 0.7267 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.281, allocations: 51.16 kB / 0.7267 GB, free: 464 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.281, allocations: 0 / 0.7267 GB, free: 464 kB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.00311/0.2842, allocations: 2.074 MB / 0.7288 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.2843, allocations: 218.3 kB / 0.729 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.2858, allocations: 1.106 MB / 0.73 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.869e-05/0.2859, allocations: 37.7 kB / 0.7301 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007339/0.2866, allocations: 1.293 MB / 0.7313 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.2868, allocations: 291.9 kB / 0.7316 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005272/0.2874, allocations: 351.1 kB / 0.732 GB, free: 11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.2875, allocations: 341.9 kB / 0.7323 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.2887, allocations: 0.8908 MB / 0.7332 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.2903, allocations: 1.511 MB / 0.7346 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/0.293, allocations: 2.358 MB / 0.7369 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-05/0.293, allocations: 8 kB / 0.7369 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003563/0.2966, allocations: 2.484 MB / 0.7394 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2967, allocations: 23.92 kB / 0.7394 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.2967, allocations: 16 kB / 0.7394 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.029e-05/0.2967, allocations: 32.03 kB / 0.7394 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.2983, allocations: 463.2 kB / 0.7399 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.37e-05/0.2983, allocations: 43.84 kB / 0.7399 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.2999, allocations: 349.6 kB / 0.7403 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.3, allocations: 75.98 kB / 0.7403 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00252/0.3026, allocations: 1.905 MB / 0.7422 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001503/0.3041, allocations: 1.442 MB / 0.7436 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002457/0.3065, allocations: 2.198 MB / 0.7457 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.666e-05/0.3066, allocations: 8 kB / 0.7457 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003436/0.31, allocations: 2.328 MB / 0.748 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.3101, allocations: 16 kB / 0.748 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.944e-05/0.3101, allocations: 16 kB / 0.7481 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.3101, allocations: 32 kB / 0.7481 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.3115, allocations: 439.8 kB / 0.7485 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.082e-05/0.3116, allocations: 39.86 kB / 0.7485 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.3131, allocations: 290.5 kB / 0.7488 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.3132, allocations: 83.92 kB / 0.7489 GB, free: 8.516 MB / 0.5919 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.0003633/0.3136, allocations: 279.6 kB / 0.7492 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.3139, allocations: 94.88 kB / 0.7493 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.3162, allocations: 1.556 MB / 0.7508 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3162, allocations: 12 kB / 0.7508 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3162, allocations: 3.984 kB / 0.7508 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.3163, allocations: 11.92 kB / 0.7508 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007615/0.3239, allocations: 4.473 MB / 0.7552 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3239, allocations: 0 / 0.7552 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009674/0.3249, allocations: 247.6 kB / 0.7554 GB, free: 1.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.3249, allocations: 8 kB / 0.7554 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.325, allocations: 16 kB / 0.7554 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.325, allocations: 8 kB / 0.7554 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.325, allocations: 4 kB / 0.7554 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3016/0.6266, allocations: 1.909 MB / 0.7573 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008548/0.6275, allocations: 320.3 kB / 0.7576 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.6277, allocations: 23.95 kB / 0.7576 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009791/0.6287, allocations: 121.1 kB / 0.7577 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.6288, allocations: 53.78 kB / 0.7578 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.6289, allocations: 21.08 kB / 0.7578 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00118/0.6301, allocations: 0.7991 MB / 0.7586 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6301, allocations: 0.6875 kB / 0.7586 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003216/0.6333, allocations: 1.3 MB / 0.7599 GB, free: 115.1 MB / 0.5919 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.002463/0.6358, allocations: 2.482 MB / 0.7623 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004823/0.6406, allocations: 2.992 MB / 0.7652 GB, free: 113 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6406, allocations: 0 / 0.7652 GB, free: 113 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008068/0.6415, allocations: 0.657 MB / 0.7659 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.6429, allocations: 187.8 kB / 0.766 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/0.6635, allocations: 15.15 MB / 0.7808 GB, free: 105.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00168/0.6653, allocations: 2.208 MB / 0.783 GB, free: 104 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001968/0.6672, allocations: 1.097 MB / 0.7841 GB, free: 104 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/0.6681, allocations: 0.8348 MB / 0.7849 GB, free: 103.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.382e-06/0.6681, allocations: 0 / 0.7849 GB, free: 103.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04486/0.7129, allocations: 32.06 MB / 0.8162 GB, free: 74.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.061/9.774, allocations: 13.95 kB / 0.8162 GB, free: 74.26 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)