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.000824/0.000824, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008502/0.0008502, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9064/0.9064, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.6984/0.6984, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.527e-05, allocations: 2.844 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002546/0.002561, allocations: 2.291 MB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.00351, allocations: 0.8219 MB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.271e-05/0.003593, allocations: 3.938 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004592/0.004052, allocations: 151.3 kB / 0.6212 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.004207, allocations: 63.61 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.004369, allocations: 67.73 kB / 0.6213 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.004559, allocations: 163.4 kB / 0.6215 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.004771, allocations: 77.17 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.004961, allocations: 103.7 kB / 0.6216 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.005094, allocations: 55.86 kB / 0.6217 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.005116, allocations: 12 kB / 0.6217 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-05/0.005208, allocations: 47.89 kB / 0.6217 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.387e-05/0.005262, allocations: 43.83 kB / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.983e-05/0.005332, allocations: 43.91 kB / 0.6218 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.00555, allocations: 195.3 kB / 0.622 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005552, allocations: 0 / 0.622 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005553, allocations: 0 / 0.622 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.005556, allocations: 0 / 0.622 GB, free: 9.613 MB / 0.5886 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.0005685/0.006125, allocations: 421.2 kB / 0.6224 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.00617, allocations: 9.469 kB / 0.6224 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.006206, allocations: 42.75 kB / 0.6225 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.00639, allocations: 36.81 kB / 0.6225 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.006596, allocations: 166 kB / 0.6227 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.879e-05/0.006655, allocations: 60.14 kB / 0.6227 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.00668, allocations: 16.12 kB / 0.6227 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.006943, allocations: 181.3 kB / 0.6229 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.006954, allocations: 0 / 0.6229 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.006966, allocations: 0 / 0.6229 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.006985, allocations: 4 kB / 0.6229 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.007123, allocations: 121.6 kB / 0.623 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000643/0.007766, allocations: 0.5888 MB / 0.6236 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.008078, allocations: 84.2 kB / 0.6237 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.008133, allocations: 54.61 kB / 0.6237 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.008147, allocations: 0 / 0.6237 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.008306, allocations: 176.4 kB / 0.6239 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.008307, allocations: 0 / 0.6239 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002875/0.008594, allocations: 222.8 kB / 0.6241 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.008653, allocations: 144.4 kB / 0.6243 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.008786, allocations: 187.8 kB / 0.6244 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.008803, allocations: 25.7 kB / 0.6245 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.008874, allocations: 143.9 kB / 0.6246 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.008895, allocations: 31.77 kB / 0.6246 GB, free: 6.641 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.008943, allocations: 37.7 kB / 0.6247 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.009039, allocations: 326.8 kB / 0.625 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.787e-05/0.009117, allocations: 95.38 kB / 0.6251 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.009218, allocations: 165 kB / 0.6252 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.009385, allocations: 238.3 kB / 0.6254 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009387, allocations: 0 / 0.6254 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002458/0.009633, allocations: 304.1 kB / 0.6257 GB, free: 5.348 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.009672, allocations: 63.41 kB / 0.6258 GB, free: 5.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.009679, allocations: 7.938 kB / 0.6258 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.009692, allocations: 4 kB / 0.6258 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.829e-05/0.00977, allocations: 27.98 kB / 0.6258 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.009778, allocations: 8.25 kB / 0.6258 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.009856, allocations: 31.83 kB / 0.6259 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.009867, allocations: 8 kB / 0.6259 GB, free: 5.188 MB / 0.5886 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.498e-05/0.009962, allocations: 160.5 kB / 0.626 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.009975, allocations: 11.95 kB / 0.626 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.01, allocations: 21.39 kB / 0.6261 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01, allocations: 0 / 0.6261 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01001, allocations: 3.938 kB / 0.6261 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01001, allocations: 0 / 0.6261 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.01013, allocations: 176.7 kB / 0.6262 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.01013, allocations: 4 kB / 0.6262 GB, free: 4.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.01017, allocations: 15.98 kB / 0.6263 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.01017, allocations: 0 / 0.6263 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.01018, allocations: 3.938 kB / 0.6263 GB, free: 4.738 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.01018, allocations: 7.938 kB / 0.6263 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.01018, allocations: 0 / 0.6263 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.01045, allocations: 274.4 kB / 0.6265 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.01047, allocations: 19.94 kB / 0.6265 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.01048, allocations: 7.938 kB / 0.6266 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.01052, allocations: 12.05 kB / 0.6266 GB, free: 4.387 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.01057, allocations: 15.92 kB / 0.6266 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.01057, allocations: 4 kB / 0.6266 GB, free: 4.367 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.124e-05/0.01065, allocations: 136.2 kB / 0.6267 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01065, allocations: 0 / 0.6267 GB, free: 4.234 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001728/0.01082, allocations: 35.94 kB / 0.6268 GB, free: 4.199 MB / 0.5886 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.0004567/0.01128, allocations: 0.8088 MB / 0.6275 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.01153, allocations: 307.7 kB / 0.6278 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01154, allocations: 0 / 0.6278 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.01162, allocations: 117.1 kB / 0.6279 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.01182, allocations: 21.41 kB / 0.628 GB, free: 2.844 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.01346, allocations: 2.221 MB / 0.6301 GB, free: 424 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.252e-05/0.01352, allocations: 102.6 kB / 0.6302 GB, free: 300 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.185e-05/0.01357, allocations: 24.8 kB / 0.6303 GB, free: 276 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.01362, allocations: 44.48 kB / 0.6303 GB, free: 232 kB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.01362, allocations: 0 / 0.6303 GB, free: 232 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.0295, allocations: 3.886 MB / 0.6341 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/7.084, allocations: 4.484 kB / 0.6341 GB, free: 12.52 MB / 0.6042 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: 9.689769658260047] Failed to read output from testmodel.py, exit status != 0: 7.16380949690938 7.17192129 7.164685467 Calling exit ...