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.0008169/0.0008169, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008403/0.0008403, 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.8785/0.8785, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7094/0.7094, 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.723e-06/1.723e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.522e-05, allocations: 2.281 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003204/0.003219, allocations: 2.279 MB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.004373, allocations: 0.8218 MB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.004458, allocations: 4 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004506/0.004909, allocations: 143.3 kB / 0.6212 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.00505, allocations: 71.59 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001424/0.005193, allocations: 75.66 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.005369, allocations: 159.4 kB / 0.6215 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.005569, allocations: 81.17 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.005716, allocations: 91.78 kB / 0.6216 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.005836, allocations: 59.8 kB / 0.6217 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.005856, allocations: 12 kB / 0.6217 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.005946, allocations: 55.83 kB / 0.6217 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.005994, allocations: 43.89 kB / 0.6218 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.006047, allocations: 47.84 kB / 0.6218 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.006241, allocations: 179.4 kB / 0.622 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.006243, allocations: 0 / 0.622 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.264e-06/0.006245, allocations: 4 kB / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.006249, allocations: 0 / 0.622 GB, free: 9.652 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.0007099/0.006959, allocations: 417.2 kB / 0.6224 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.006992, allocations: 9.469 kB / 0.6224 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.007025, allocations: 42.75 kB / 0.6225 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.007198, allocations: 40.75 kB / 0.6225 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.007382, allocations: 170 kB / 0.6227 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/0.007437, allocations: 64.16 kB / 0.6227 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.007459, allocations: 12.12 kB / 0.6227 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.007661, allocations: 177.1 kB / 0.6229 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.007669, allocations: 3.938 kB / 0.6229 GB, free: 8.633 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.007681, allocations: 4 kB / 0.6229 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.007695, allocations: 4 kB / 0.6229 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.007838, allocations: 109.7 kB / 0.623 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.008376, allocations: 0.5966 MB / 0.6236 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.00855, allocations: 88.25 kB / 0.6237 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.008602, allocations: 54.55 kB / 0.6237 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.008614, allocations: 0 / 0.6237 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.008798, allocations: 172.5 kB / 0.6239 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.008799, allocations: 0 / 0.6239 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002603/0.00906, allocations: 234.7 kB / 0.6241 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.009113, allocations: 136.5 kB / 0.6243 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.00923, allocations: 187.8 kB / 0.6244 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.009243, allocations: 25.7 kB / 0.6245 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.009305, allocations: 140 kB / 0.6246 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.009325, allocations: 31.77 kB / 0.6246 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.009374, allocations: 37.7 kB / 0.6247 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.009455, allocations: 326.8 kB / 0.625 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/0.009524, allocations: 87.39 kB / 0.6251 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-05/0.009618, allocations: 170.8 kB / 0.6252 GB, free: 5.996 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.009869, allocations: 238.3 kB / 0.6254 GB, free: 5.711 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.009871, allocations: 4 kB / 0.6254 GB, free: 5.707 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002376/0.01011, allocations: 296.2 kB / 0.6257 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.01015, allocations: 67.39 kB / 0.6258 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01015, allocations: 3.938 kB / 0.6258 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.01017, allocations: 4 kB / 0.6258 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.01024, allocations: 32.23 kB / 0.6258 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.01025, allocations: 8 kB / 0.6258 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.968e-05/0.01033, allocations: 31.77 kB / 0.6259 GB, free: 5.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.01034, allocations: 12 kB / 0.6259 GB, free: 5.219 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 0.0001031/0.01044, allocations: 160.5 kB / 0.626 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.01046, allocations: 11.95 kB / 0.626 GB, free: 5.035 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.01049, allocations: 17.41 kB / 0.6261 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01049, allocations: 3.984 kB / 0.6261 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01049, allocations: 4 kB / 0.6261 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.0105, allocations: 4 kB / 0.6261 GB, free: 5.004 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.01062, allocations: 172.7 kB / 0.6262 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.01062, allocations: 0 / 0.6262 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.01066, allocations: 15.98 kB / 0.6263 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01066, allocations: 0 / 0.6263 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.01068, allocations: 7.938 kB / 0.6263 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.01068, allocations: 3.938 kB / 0.6263 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01068, allocations: 0 / 0.6263 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.01098, allocations: 290.4 kB / 0.6265 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.01099, allocations: 7.906 kB / 0.6265 GB, free: 4.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.01102, allocations: 12 kB / 0.6266 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-05/0.01106, allocations: 11.98 kB / 0.6266 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.01112, allocations: 11.98 kB / 0.6266 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.01113, allocations: 0 / 0.6266 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.514e-05/0.01121, allocations: 136.3 kB / 0.6267 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01121, allocations: 0 / 0.6267 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001906/0.0114, allocations: 35.94 kB / 0.6267 GB, free: 4.234 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.0004546/0.01186, allocations: 0.8088 MB / 0.6275 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.0121, allocations: 295.7 kB / 0.6278 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01211, allocations: 0 / 0.6278 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.01219, allocations: 129 kB / 0.6279 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/0.01238, allocations: 18.64 kB / 0.628 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.01445, allocations: 2.229 MB / 0.6301 GB, free: 456 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.901e-05/0.01452, allocations: 102.6 kB / 0.6302 GB, free: 332 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.037e-05/0.01458, allocations: 24.62 kB / 0.6303 GB, free: 308 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.01464, allocations: 40.48 kB / 0.6303 GB, free: 268 kB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.01464, allocations: 0 / 0.6303 GB, free: 268 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.03221, allocations: 3.884 MB / 0.6341 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.084, allocations: 11.3 kB / 0.6341 GB, free: 12.55 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 & 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: 9.769248236902058] Failed to read output from testmodel.py, exit status != 0: 7.16413960698992 7.173620223 7.165429595 Calling exit ...