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.0009108/0.0009108, 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.00109/0.00109, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9113/0.9113, allocations: 230.6 MB / 256 MB, free: 9.434 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.7762/0.7762, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.001293/0.001293, allocations: 68.27 kB / 0.7181 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5346/0.5359, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003043/0.5389, allocations: 2.314 MB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001295/0.5402, allocations: 0.8207 MB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.5403, allocations: 2.5 kB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.541, allocations: 147.5 kB / 0.821 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.5411, allocations: 61.19 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.5413, allocations: 68.27 kB / 0.8211 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000269/0.5416, allocations: 157.4 kB / 0.8212 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002605/0.5419, allocations: 85.31 kB / 0.8213 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.542, allocations: 79.78 kB / 0.8214 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.5422, allocations: 67.28 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.5422, allocations: 11.56 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.5423, allocations: 49.38 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.422e-05/0.5424, allocations: 47.42 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.5425, allocations: 55.33 kB / 0.8216 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002913/0.5428, allocations: 185.7 kB / 0.8218 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5428, allocations: 0 / 0.8218 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5428, allocations: 0 / 0.8218 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.635e-06/0.5428, allocations: 0 / 0.8218 GB, free: 14.51 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.0006606/0.5434, allocations: 425.4 kB / 0.8222 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5435, allocations: 10.62 kB / 0.8222 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.5435, allocations: 45.67 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.5437, allocations: 38.36 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.5439, allocations: 155 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.544, allocations: 69.17 kB / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.544, allocations: 16.36 kB / 0.8225 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.5442, allocations: 177.2 kB / 0.8227 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.5443, allocations: 3.984 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.5443, allocations: 2.344 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.5443, allocations: 4.875 kB / 0.8227 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.5444, allocations: 122.2 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.5451, allocations: 0.585 MB / 0.8234 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.5453, allocations: 82.47 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.5453, allocations: 54.05 kB / 0.8235 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.5453, allocations: 1.469 kB / 0.8235 GB, free: 13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.5455, allocations: 183.9 kB / 0.8237 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.5455, allocations: 0 / 0.8237 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002975/0.5458, allocations: 225.1 kB / 0.8239 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.5459, allocations: 135.9 kB / 0.824 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.546, allocations: 187.9 kB / 0.8242 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.546, allocations: 27.53 kB / 0.8242 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.5461, allocations: 143.1 kB / 0.8244 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.5461, allocations: 29.7 kB / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.5462, allocations: 35.36 kB / 0.8244 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.5463, allocations: 330.8 kB / 0.8248 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.5463, allocations: 91.8 kB / 0.8248 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.5464, allocations: 168.9 kB / 0.825 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.5466, allocations: 225 kB / 0.8252 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.5466, allocations: 4 kB / 0.8252 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002647/0.5469, allocations: 304.5 kB / 0.8255 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.404e-05/0.5469, allocations: 64.77 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5469, allocations: 3.172 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.547, allocations: 7.875 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.547, allocations: 31.78 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.547, allocations: 4.203 kB / 0.8256 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.489e-05/0.5471, allocations: 25.56 kB / 0.8256 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.5471, allocations: 11.58 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 0.0001074/0.5473, allocations: 165.1 kB / 0.8258 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.5473, allocations: 23.58 kB / 0.8258 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.5473, allocations: 15.44 kB / 0.8258 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.5473, allocations: 1.312 kB / 0.8258 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5473, allocations: 4.703 kB / 0.8259 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5473, allocations: 0 / 0.8259 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.5474, allocations: 168.6 kB / 0.826 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5474, allocations: 4.938 kB / 0.826 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.5475, allocations: 14.7 kB / 0.826 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.5475, allocations: 0 / 0.826 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.5475, allocations: 2.938 kB / 0.826 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5475, allocations: 1.25 kB / 0.826 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5475, allocations: 0.5625 kB / 0.826 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.5478, allocations: 285.5 kB / 0.8263 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.5478, allocations: 21.62 kB / 0.8263 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.5479, allocations: 6.656 kB / 0.8263 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-05/0.5479, allocations: 9.922 kB / 0.8263 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.5479, allocations: 6.969 kB / 0.8264 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.548, allocations: 7.656 kB / 0.8264 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.001e-05/0.548, allocations: 135.9 kB / 0.8265 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.548, allocations: 0 / 0.8265 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001712/0.5482, allocations: 30.19 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.0004491/0.5487, allocations: 0.8316 MB / 0.8273 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.5489, allocations: 294.5 kB / 0.8276 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5489, allocations: 1.5 kB / 0.8276 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.549, allocations: 118 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.0001879/0.5492, allocations: 26.48 kB / 0.8278 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.5509, allocations: 2.235 MB / 0.8299 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.984e-05/0.5509, allocations: 109.4 kB / 0.83 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.518e-05/0.551, allocations: 18.3 kB / 0.8301 GB, free: 7.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.5511, allocations: 39.77 kB / 0.8301 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.5511, allocations: 1.438 kB / 0.8301 GB, free: 7.219 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0206/0.5717, allocations: 3.752 MB / 0.8338 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.676/7.248, allocations: 6.922 kB / 0.8338 GB, free: 6.215 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.049832585267723] Failed to read output from testmodel.py, exit status != 0: 7.3280894588679075 7.345816247 6.799498605 Calling exit ...