Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001271/0.001271, allocations: 108.1 kB / 16.4 MB, free: 6.512 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.001268/0.001268, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.485/1.485, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.12/1.12, allocations: 173.4 MB / 470.6 MB, free: 13.62 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00292/0.00292, allocations: 67.11 kB / 0.6477 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2159, allocations: 89.51 MB / 0.7351 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004098/0.2201, allocations: 2.312 MB / 0.7374 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.2216, allocations: 0.7714 MB / 0.7382 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.2217, allocations: 4 kB / 0.7382 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006322/0.2224, allocations: 159.2 kB / 0.7383 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.2226, allocations: 63.66 kB / 0.7384 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.2227, allocations: 55.88 kB / 0.7384 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.223, allocations: 151.5 kB / 0.7386 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.2232, allocations: 97.05 kB / 0.7387 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.2234, allocations: 71.7 kB / 0.7387 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.2236, allocations: 71.67 kB / 0.7388 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.2237, allocations: 12 kB / 0.7388 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.2238, allocations: 47.91 kB / 0.7389 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.2239, allocations: 35.91 kB / 0.7389 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.665e-05/0.224, allocations: 79.64 kB / 0.739 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.2243, allocations: 167.3 kB / 0.7391 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2243, allocations: 0 / 0.7391 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2243, allocations: 0 / 0.7391 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.2243, allocations: 0 / 0.7391 GB, free: 14.27 MB / 0.5762 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.0007766/0.2251, allocations: 0.4906 MB / 0.7396 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2251, allocations: 12.03 kB / 0.7396 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.2252, allocations: 42.69 kB / 0.7397 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.2254, allocations: 24.83 kB / 0.7397 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.2257, allocations: 220.1 kB / 0.7399 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.2258, allocations: 38.45 kB / 0.7399 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.2258, allocations: 11.94 kB / 0.7399 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.2262, allocations: 144.2 kB / 0.7401 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.2262, allocations: 0 / 0.7401 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.2263, allocations: 8 kB / 0.7401 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.2263, allocations: 4 kB / 0.7401 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002198/0.2265, allocations: 91.86 kB / 0.7402 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009355/0.2275, allocations: 0.6403 MB / 0.7408 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.2278, allocations: 54.56 kB / 0.7409 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.2279, allocations: 32.91 kB / 0.7409 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.2279, allocations: 3.938 kB / 0.7409 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.2282, allocations: 142.9 kB / 0.741 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.2282, allocations: 0 / 0.741 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003991/0.2286, allocations: 163.2 kB / 0.7412 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/0.2288, allocations: 132.5 kB / 0.7413 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.229, allocations: 179.1 kB / 0.7415 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.229, allocations: 33.7 kB / 0.7415 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.2292, allocations: 144 kB / 0.7417 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.2292, allocations: 27.8 kB / 0.7417 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.2293, allocations: 37.7 kB / 0.7417 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.2295, allocations: 322.8 kB / 0.742 GB, free: 11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.2296, allocations: 43.91 kB / 0.7421 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.2298, allocations: 111.3 kB / 0.7422 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.2301, allocations: 226.4 kB / 0.7424 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2301, allocations: 0 / 0.7424 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004504/0.2306, allocations: 240.7 kB / 0.7426 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-05/0.2307, allocations: 75.27 kB / 0.7427 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.2307, allocations: 4 kB / 0.7427 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.2307, allocations: 4 kB / 0.7427 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.2309, allocations: 27.98 kB / 0.7427 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.2309, allocations: 11.88 kB / 0.7427 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.231, allocations: 24.19 kB / 0.7428 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.2311, allocations: 12 kB / 0.7428 GB, free: 10.12 MB / 0.5762 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.0002818/0.2314, allocations: 163.5 kB / 0.7429 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.2314, allocations: 19.84 kB / 0.7429 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.2315, allocations: 13.41 kB / 0.743 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2315, allocations: 0 / 0.743 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2315, allocations: 0 / 0.743 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2315, allocations: 0 / 0.743 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.2318, allocations: 221.5 kB / 0.7432 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2318, allocations: 0 / 0.7432 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-05/0.2319, allocations: 19.92 kB / 0.7432 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.2319, allocations: 7.938 kB / 0.7432 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.2319, allocations: 0 / 0.7432 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2319, allocations: 0 / 0.7432 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.2319, allocations: 0 / 0.7432 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000637/0.2326, allocations: 214.7 kB / 0.7434 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.2328, allocations: 85.02 kB / 0.7435 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.2329, allocations: 15.97 kB / 0.7435 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.233, allocations: 11.98 kB / 0.7435 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.2331, allocations: 11.98 kB / 0.7435 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.2331, allocations: 0 / 0.7435 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000149/0.2332, allocations: 136.8 kB / 0.7436 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2332, allocations: 4 kB / 0.7437 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003125/0.2336, allocations: 28 kB / 0.7437 GB, free: 9.066 MB / 0.5762 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.0008888/0.2345, allocations: 0.7588 MB / 0.7444 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.2349, allocations: 218.6 kB / 0.7446 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2349, allocations: 0.6875 kB / 0.7446 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.2351, allocations: 107.5 kB / 0.7447 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.2354, allocations: 16.09 kB / 0.7447 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.2383, allocations: 1.974 MB / 0.7467 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.2388, allocations: 0.7197 MB / 0.7474 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.2389, allocations: 16.62 kB / 0.7474 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.239, allocations: 43.42 kB / 0.7474 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.239, allocations: 0 / 0.7474 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.2671, allocations: 3.105 MB / 0.7505 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.909/8.176, allocations: 15.03 kB / 0.7505 GB, free: 1.949 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.42057896393817] Failed to read output from testmodel.py, exit status != 0: 8.241129182977602 8.522392623 8.29500329 Calling exit ...