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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 114.3 kB / 17.12 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 195.7 kB / 20.08 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8718/0.8718, allocations: 129.2 MB / 432.5 MB, free: 13.18 MB / 350.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 71.83 kB / 0.5987 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4879, allocations: 83.43 MB / 0.6801 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003604/0.4915, allocations: 2.318 MB / 0.6824 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.4928, allocations: 0.7987 MB / 0.6832 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.493, allocations: 2.562 kB / 0.6832 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006615/0.4936, allocations: 149.5 kB / 0.6833 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.4938, allocations: 68.12 kB / 0.6834 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.494, allocations: 50.67 kB / 0.6834 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002701/0.4943, allocations: 158.2 kB / 0.6836 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002692/0.4945, allocations: 70.48 kB / 0.6837 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.4947, allocations: 75.02 kB / 0.6837 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.4948, allocations: 70.58 kB / 0.6838 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.4949, allocations: 12.28 kB / 0.6838 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.495, allocations: 62.62 kB / 0.6839 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.4951, allocations: 34.75 kB / 0.6839 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.113e-05/0.4951, allocations: 67.17 kB / 0.684 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.4954, allocations: 165.7 kB / 0.6841 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4954, allocations: 8.781 kB / 0.6841 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4954, allocations: 0 / 0.6841 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.4954, allocations: 0 / 0.6841 GB, free: 2.922 MB / 0.4981 GB 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.0007411/0.4962, allocations: 499.5 kB / 0.6846 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4962, allocations: 13.89 kB / 0.6846 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.4962, allocations: 39.28 kB / 0.6847 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.4965, allocations: 26.28 kB / 0.6847 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.4967, allocations: 213.5 kB / 0.6849 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.4967, allocations: 36.7 kB / 0.6849 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.4968, allocations: 15.44 kB / 0.6849 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.497, allocations: 160.5 kB / 0.6851 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.497, allocations: 0 / 0.6851 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.4971, allocations: 6.656 kB / 0.6851 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.4971, allocations: 4 kB / 0.6851 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00018/0.4973, allocations: 84.95 kB / 0.6852 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007165/0.498, allocations: 0.6424 MB / 0.6858 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.4982, allocations: 56.7 kB / 0.6859 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.4983, allocations: 23.75 kB / 0.6859 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.4983, allocations: 0 / 0.6859 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.4985, allocations: 151.6 kB / 0.686 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.4985, allocations: 1.188 kB / 0.686 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0003484/0.4988, allocations: 160.5 kB / 0.6862 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.4989, allocations: 139.2 kB / 0.6863 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.499, allocations: 183.3 kB / 0.6865 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.499, allocations: 28.58 kB / 0.6865 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.4991, allocations: 144.5 kB / 0.6867 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.4991, allocations: 31.61 kB / 0.6867 GB, free: 492 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.4991, allocations: 34.52 kB / 0.6867 GB, free: 464 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.4992, allocations: 327.6 kB / 0.687 GB, free: 132 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.4993, allocations: 31.42 kB / 0.6871 GB, free: 120 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.4994, allocations: 116.2 kB / 0.6872 GB, free: 16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.4997, allocations: 233.1 kB / 0.6874 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4997, allocations: 0 / 0.6874 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003781/0.5001, allocations: 247.2 kB / 0.6876 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.5001, allocations: 65.72 kB / 0.6877 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5002, allocations: 2.562 kB / 0.6877 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.5002, allocations: 7.875 kB / 0.6877 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5003, allocations: 30.61 kB / 0.6877 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.5003, allocations: 7.297 kB / 0.6877 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.5004, allocations: 27.58 kB / 0.6878 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.5005, allocations: 11.78 kB / 0.6878 GB, free: 15.49 MB / 0.5137 GB 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 0.0001651/0.5006, allocations: 167.2 kB / 0.6879 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.5007, allocations: 19.41 kB / 0.688 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.5007, allocations: 17.36 kB / 0.688 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5007, allocations: 0 / 0.688 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5007, allocations: 1.531 kB / 0.688 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5007, allocations: 4.031 kB / 0.688 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.5009, allocations: 213.8 kB / 0.6882 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5009, allocations: 1.312 kB / 0.6882 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.501, allocations: 7.344 kB / 0.6882 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.501, allocations: 5.438 kB / 0.6882 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.501, allocations: 5.141 kB / 0.6882 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.501, allocations: 0.9375 kB / 0.6882 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.501, allocations: 3.938 kB / 0.6882 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/0.5014, allocations: 220.7 kB / 0.6884 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.164e-05/0.5015, allocations: 87.69 kB / 0.6885 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.5015, allocations: 6.469 kB / 0.6885 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.5016, allocations: 11.86 kB / 0.6885 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.488e-05/0.5017, allocations: 7.375 kB / 0.6885 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.5017, allocations: 6.141 kB / 0.6885 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001189/0.5018, allocations: 127.9 kB / 0.6887 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5018, allocations: 0 / 0.6887 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002499/0.5021, allocations: 34.77 kB / 0.6887 GB, free: 14.66 MB / 0.5137 GB 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.0006815/0.5027, allocations: 0.7657 MB / 0.6894 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.5031, allocations: 204.8 kB / 0.6896 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5031, allocations: 4.188 kB / 0.6896 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.5032, allocations: 92.73 kB / 0.6897 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.5035, allocations: 19.53 kB / 0.6897 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/0.5059, allocations: 1.962 MB / 0.6917 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.5062, allocations: 0.7102 MB / 0.6924 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.968e-05/0.5063, allocations: 17.77 kB / 0.6924 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.5063, allocations: 42.08 kB / 0.6924 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.5063, allocations: 0 / 0.6924 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.5332, allocations: 3.138 MB / 0.6955 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.637, allocations: 24.53 kB / 0.6955 GB, free: 9.602 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.053417696151882] Failed to read output from testmodel.py, exit status != 0: 8.705063120927662 8.71797062 8.219699192 Calling exit ...