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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000766/0.000766, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008687/0.0008687, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9588/0.9588, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7778/0.7778, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008894/0.0008894, allocations: 71.27 kB / 0.7181 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.454, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002536/0.4566, allocations: 2.307 MB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009744/0.4576, allocations: 0.8262 MB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.607e-05/0.4576, allocations: 2.031 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.4581, allocations: 148 kB / 0.821 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.4583, allocations: 57.61 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.4584, allocations: 69.7 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.4586, allocations: 165.5 kB / 0.8212 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.4589, allocations: 91.89 kB / 0.8213 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.459, allocations: 72.39 kB / 0.8214 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.4591, allocations: 69.3 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.4592, allocations: 12.22 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.469e-05/0.4592, allocations: 49.22 kB / 0.8215 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.4593, allocations: 34.58 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.4593, allocations: 53.86 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.4596, allocations: 193.3 kB / 0.8218 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4596, allocations: 4 kB / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4596, allocations: 0 / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4596, allocations: 0 / 0.8218 GB, free: 14.5 MB / 0.6198 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.0005562/0.4601, allocations: 427.6 kB / 0.8222 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4602, allocations: 9.219 kB / 0.8222 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.4602, allocations: 46.25 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.4604, allocations: 37.88 kB / 0.8223 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.4606, allocations: 159.8 kB / 0.8224 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.623e-05/0.4606, allocations: 69 kB / 0.8225 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.4607, allocations: 12.31 kB / 0.8225 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.4609, allocations: 169.3 kB / 0.8227 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4609, allocations: 4.703 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4609, allocations: 6 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.4609, allocations: 5.469 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.4611, allocations: 122.1 kB / 0.8228 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005947/0.4617, allocations: 0.5815 MB / 0.8234 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.4618, allocations: 86.72 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.4619, allocations: 53.56 kB / 0.8235 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.4619, allocations: 1.938 kB / 0.8235 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.4621, allocations: 183.2 kB / 0.8237 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.4621, allocations: 0 / 0.8237 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002849/0.4624, allocations: 217.2 kB / 0.8239 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.4624, allocations: 141.8 kB / 0.824 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4626, allocations: 189.5 kB / 0.8242 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.4626, allocations: 27.56 kB / 0.8242 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.4626, allocations: 147.9 kB / 0.8244 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.4627, allocations: 25.94 kB / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.4627, allocations: 34.5 kB / 0.8244 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.4628, allocations: 327 kB / 0.8248 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.4629, allocations: 96.28 kB / 0.8248 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.463, allocations: 167.2 kB / 0.825 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.4631, allocations: 227.2 kB / 0.8252 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.4631, allocations: 1.031 kB / 0.8252 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000251/0.4634, allocations: 309.3 kB / 0.8255 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.4634, allocations: 64.62 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4634, allocations: 2.938 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4635, allocations: 4.156 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.899e-05/0.4635, allocations: 29.61 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4635, allocations: 4.578 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.193e-05/0.4636, allocations: 31.27 kB / 0.8256 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.4636, allocations: 7.781 kB / 0.8257 GB, free: 11.07 MB / 0.6198 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 9.408e-05/0.4637, allocations: 163.2 kB / 0.8258 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.4637, allocations: 19.47 kB / 0.8258 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.4638, allocations: 14.98 kB / 0.8258 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4638, allocations: 1.062 kB / 0.8258 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4638, allocations: 0 / 0.8258 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.4638, allocations: 1.641 kB / 0.8258 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.4639, allocations: 172.7 kB / 0.826 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4639, allocations: 7.875 kB / 0.826 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.852e-05/0.464, allocations: 18.73 kB / 0.826 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.464, allocations: 4.594 kB / 0.826 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.464, allocations: 3.094 kB / 0.826 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.464, allocations: 4 kB / 0.826 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.464, allocations: 1.125 kB / 0.826 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.4643, allocations: 281.8 kB / 0.8263 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.4643, allocations: 16.23 kB / 0.8263 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.4643, allocations: 3.297 kB / 0.8263 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.751e-05/0.4644, allocations: 19.5 kB / 0.8264 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.4644, allocations: 6.812 kB / 0.8264 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.4644, allocations: 4.359 kB / 0.8264 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.673e-05/0.4645, allocations: 137.7 kB / 0.8265 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4645, allocations: 0 / 0.8265 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000168/0.4647, allocations: 30.66 kB / 0.8265 GB, free: 10.36 MB / 0.6198 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.0004382/0.4651, allocations: 0.8204 MB / 0.8273 GB, free: 9.609 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.4653, allocations: 302.6 kB / 0.8276 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4653, allocations: 0 / 0.8276 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.4654, allocations: 118.9 kB / 0.8277 GB, free: 9.242 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001701/0.4656, allocations: 19.02 kB / 0.8277 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.4672, allocations: 2.235 MB / 0.8299 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.845e-05/0.4673, allocations: 102.9 kB / 0.83 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.215e-05/0.4673, allocations: 21.66 kB / 0.83 GB, free: 7.258 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.4674, allocations: 37.73 kB / 0.8301 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.4674, allocations: 112 / 0.8301 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.4876, allocations: 3.764 MB / 0.8338 GB, free: 6.211 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.797/7.284, allocations: 3.031 kB / 0.8338 GB, free: 6.211 MB / 0.6198 GB " [Timeout remaining time 653] (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: 10.210423797369003] Failed to read output from testmodel.py, exit status != 0: 7.3657935918308794 7.377582026 6.91539127 Calling exit ...