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.0008044/0.0008044, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.000982/0.000982, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9462/0.9462, allocations: 230.6 MB / 256 MB, free: 9.809 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.8048/0.8048, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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.001052/0.001052, allocations: 70.39 kB / 0.7182 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4911/0.4921, allocations: 102 MB / 0.8178 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002892/0.495, allocations: 2.383 MB / 0.8202 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.4962, allocations: 0.8842 MB / 0.821 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.4963, allocations: 1.25 kB / 0.821 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.4969, allocations: 154.7 kB / 0.8212 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.4971, allocations: 62.73 kB / 0.8212 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.4973, allocations: 69.58 kB / 0.8213 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.4975, allocations: 156.5 kB / 0.8214 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.4978, allocations: 89.91 kB / 0.8215 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.4979, allocations: 79.08 kB / 0.8216 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.4981, allocations: 74.53 kB / 0.8217 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.4981, allocations: 11.56 kB / 0.8217 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.4983, allocations: 61.17 kB / 0.8217 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.202e-05/0.4983, allocations: 38.83 kB / 0.8218 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.333e-05/0.4984, allocations: 65.14 kB / 0.8218 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.4987, allocations: 183 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4987, allocations: 0 / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4987, allocations: 0 / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.4987, allocations: 1 kB / 0.822 GB, free: 14.55 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.000792/0.4995, allocations: 424.4 kB / 0.8224 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.4995, allocations: 9.844 kB / 0.8224 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.4996, allocations: 49.2 kB / 0.8225 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.4998, allocations: 38.3 kB / 0.8225 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.5001, allocations: 163.6 kB / 0.8227 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.5002, allocations: 66.66 kB / 0.8227 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.5002, allocations: 6.812 kB / 0.8227 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.5005, allocations: 149.5 kB / 0.8229 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5005, allocations: 0 / 0.8229 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.5005, allocations: 9.984 kB / 0.8229 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.5005, allocations: 10.91 kB / 0.8229 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.5007, allocations: 89.11 kB / 0.823 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006918/0.5014, allocations: 0.601 MB / 0.8236 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.5016, allocations: 58.88 kB / 0.8236 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.5016, allocations: 23.34 kB / 0.8237 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.5016, allocations: 1.375 kB / 0.8237 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000194/0.5018, allocations: 151 kB / 0.8238 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.5018, allocations: 3.938 kB / 0.8238 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003186/0.5022, allocations: 157.7 kB / 0.824 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.5022, allocations: 140.7 kB / 0.8241 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.5024, allocations: 194.6 kB / 0.8243 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.5024, allocations: 27.27 kB / 0.8243 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.5025, allocations: 144.1 kB / 0.8244 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.5025, allocations: 17.12 kB / 0.8245 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.5026, allocations: 38.17 kB / 0.8245 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5027, allocations: 331 kB / 0.8248 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.5028, allocations: 38.7 kB / 0.8248 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.5029, allocations: 111.4 kB / 0.8249 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.5031, allocations: 228.8 kB / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5031, allocations: 1.344 kB / 0.8252 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002901/0.5034, allocations: 247.5 kB / 0.8254 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.5034, allocations: 65.08 kB / 0.8255 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5034, allocations: 2.844 kB / 0.8255 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.5034, allocations: 3.609 kB / 0.8255 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.5035, allocations: 35.3 kB / 0.8255 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.5035, allocations: 4.844 kB / 0.8255 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.5036, allocations: 21.61 kB / 0.8255 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.5036, allocations: 11.47 kB / 0.8255 GB, free: 11.53 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 0.0001125/0.5037, allocations: 169.3 kB / 0.8257 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.5038, allocations: 20.44 kB / 0.8257 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.5038, allocations: 13.98 kB / 0.8257 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5038, allocations: 1.25 kB / 0.8257 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5038, allocations: 0.7969 kB / 0.8257 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5038, allocations: 1.344 kB / 0.8257 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.504, allocations: 189.2 kB / 0.8259 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.504, allocations: 3.938 kB / 0.8259 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.504, allocations: 11 kB / 0.8259 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.504, allocations: 0 / 0.8259 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.504, allocations: 11.62 kB / 0.8259 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5041, allocations: 0 / 0.8259 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5041, allocations: 1.438 kB / 0.8259 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.5044, allocations: 215.7 kB / 0.8262 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.432e-05/0.5044, allocations: 12.11 kB / 0.8262 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.5045, allocations: 8.203 kB / 0.8262 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.245e-05/0.5045, allocations: 9.344 kB / 0.8262 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.5046, allocations: 15.12 kB / 0.8262 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5046, allocations: 3.188 kB / 0.8262 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.026e-05/0.5047, allocations: 130.1 kB / 0.8263 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5047, allocations: 3.938 kB / 0.8263 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001767/0.5049, allocations: 35.58 kB / 0.8264 GB, free: 10.88 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.0005509/0.5054, allocations: 0.7591 MB / 0.8271 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.5057, allocations: 207.3 kB / 0.8273 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5057, allocations: 0 / 0.8273 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.5058, allocations: 89.02 kB / 0.8274 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.506, allocations: 25.69 kB / 0.8274 GB, free: 9.957 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/0.508, allocations: 1.981 MB / 0.8293 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.5083, allocations: 0.7156 MB / 0.83 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.398e-05/0.5083, allocations: 16.16 kB / 0.8301 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.624e-05/0.5084, allocations: 42 kB / 0.8301 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of SimCode: time 1.122e-06/0.5084, allocations: 0 / 0.8301 GB, free: 7.605 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.5307, allocations: 3.357 MB / 0.8334 GB, free: 7.051 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.066/7.597, allocations: 11.2 kB / 0.8334 GB, free: 7.047 MB / 0.6198 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: 10.615034647053108] Failed to read output from testmodel.py, exit status != 0: 7.6742056561633945 7.688598969 7.187436238 Calling exit ...