Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL",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.001226/0.001226, allocations: 104.2 kB / 16.27 MB, free: 6.41 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.001142/0.001142, allocations: 186.7 kB / 17.2 MB, free: 5.953 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7309/0.7309, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 63.91 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3315, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00317/0.3347, allocations: 2.291 MB / 0.5695 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3357, allocations: 0.783 MB / 0.5703 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.3358, allocations: 2.469 kB / 0.5703 GB, free: 30.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.3364, allocations: 149 kB / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.3365, allocations: 65.62 kB / 0.5705 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.3367, allocations: 55.23 kB / 0.5705 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.3369, allocations: 166.2 kB / 0.5707 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.3371, allocations: 94.64 kB / 0.5708 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.526e-05/0.3372, allocations: 62.77 kB / 0.5708 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3374, allocations: 69.42 kB / 0.5709 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.3374, allocations: 16.31 kB / 0.5709 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3375, allocations: 54.7 kB / 0.571 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.3376, allocations: 38.19 kB / 0.571 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.3376, allocations: 69.39 kB / 0.5711 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3379, allocations: 165.7 kB / 0.5712 GB, free: 30.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3379, allocations: 3.938 kB / 0.5712 GB, free: 30.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3379, allocations: 0 / 0.5712 GB, free: 30.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3379, allocations: 1.656 kB / 0.5712 GB, free: 30.16 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005706/0.3385, allocations: 494 kB / 0.5717 GB, free: 29.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3385, allocations: 10.69 kB / 0.5717 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.3386, allocations: 45.7 kB / 0.5718 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.3388, allocations: 25.64 kB / 0.5718 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.339, allocations: 212.1 kB / 0.572 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.339, allocations: 37.73 kB / 0.572 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.339, allocations: 16.28 kB / 0.572 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3393, allocations: 148.1 kB / 0.5722 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3393, allocations: 3.984 kB / 0.5722 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3394, allocations: 6.562 kB / 0.5722 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3394, allocations: 4.469 kB / 0.5722 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3396, allocations: 86.17 kB / 0.5723 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000753/0.3403, allocations: 0.6463 MB / 0.5729 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.3406, allocations: 53.31 kB / 0.573 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.513e-05/0.3407, allocations: 34.03 kB / 0.573 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.3407, allocations: 1.062 kB / 0.573 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.3409, allocations: 147 kB / 0.5731 GB, free: 28.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3409, allocations: 0 / 0.5731 GB, free: 28.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003359/0.3412, allocations: 160.7 kB / 0.5733 GB, free: 28.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3413, allocations: 135.6 kB / 0.5734 GB, free: 28.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.3414, allocations: 194.8 kB / 0.5736 GB, free: 28.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3414, allocations: 26.86 kB / 0.5736 GB, free: 28.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.3415, allocations: 136.9 kB / 0.5738 GB, free: 27.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.3415, allocations: 23.22 kB / 0.5738 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.3416, allocations: 39.2 kB / 0.5738 GB, free: 27.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.3416, allocations: 326.7 kB / 0.5741 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.3417, allocations: 39.11 kB / 0.5742 GB, free: 27.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.3418, allocations: 109.9 kB / 0.5743 GB, free: 27.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.342, allocations: 238.4 kB / 0.5745 GB, free: 27.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.342, allocations: 2.344 kB / 0.5745 GB, free: 27.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003023/0.3424, allocations: 247.9 kB / 0.5747 GB, free: 27.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.3424, allocations: 67.94 kB / 0.5748 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3424, allocations: 3.078 kB / 0.5748 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3424, allocations: 4.531 kB / 0.5748 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3425, allocations: 30.48 kB / 0.5748 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3426, allocations: 8.75 kB / 0.5748 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.3427, allocations: 21.98 kB / 0.5749 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3427, allocations: 8.047 kB / 0.5749 GB, free: 27.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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 9.041e-05/0.3428, allocations: 161.7 kB / 0.575 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.3429, allocations: 17.05 kB / 0.575 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.3429, allocations: 14.73 kB / 0.5751 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3429, allocations: 1.656 kB / 0.5751 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3429, allocations: 2.656 kB / 0.5751 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3429, allocations: 0 / 0.5751 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.3431, allocations: 218 kB / 0.5753 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3431, allocations: 0 / 0.5753 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.3431, allocations: 10.56 kB / 0.5753 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3432, allocations: 5.031 kB / 0.5753 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.3432, allocations: 4.297 kB / 0.5753 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3432, allocations: 0 / 0.5753 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3432, allocations: 2.031 kB / 0.5753 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.3435, allocations: 216.7 kB / 0.5755 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.3436, allocations: 95.81 kB / 0.5756 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.3436, allocations: 7.469 kB / 0.5756 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/0.3437, allocations: 10.52 kB / 0.5756 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.3438, allocations: 9.781 kB / 0.5756 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3438, allocations: 3.703 kB / 0.5756 GB, free: 26.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.475e-05/0.3439, allocations: 130.5 kB / 0.5757 GB, free: 26.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.72e-07/0.3439, allocations: 0.7812 kB / 0.5757 GB, free: 26.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.3442, allocations: 34.62 kB / 0.5758 GB, free: 26.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0004808/0.3446, allocations: 0.7575 MB / 0.5765 GB, free: 25.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.3449, allocations: 223.7 kB / 0.5767 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3449, allocations: 0 / 0.5767 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.3451, allocations: 109.6 kB / 0.5768 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3453, allocations: 15.12 kB / 0.5769 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.347, allocations: 1.95 MB / 0.5788 GB, free: 23.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.3472, allocations: 0.7198 MB / 0.5795 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.549e-05/0.3472, allocations: 23.08 kB / 0.5795 GB, free: 23.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.3473, allocations: 38.05 kB / 0.5795 GB, free: 23.02 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3473, allocations: 0 / 0.5795 GB, free: 23.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.3704, allocations: 3.068 MB / 0.5825 GB, free: 22.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/7.135, allocations: 15.28 kB / 0.5825 GB, free: 22.27 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)