Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.001381/0.001381, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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 1.55/1.55, allocations: 230.6 MB / 252.7 MB, free: 14.27 MB / 206.1 MB " [Timeout remaining time 178] 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.001607/0.001607, allocations: 207 kB / 309.2 MB, free: 3.086 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.0573/0.0573, allocations: 8.91 MB / 374.6 MB, free: 6.602 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002454/0.002454, allocations: 91.86 kB / 0.4891 GB, free: 44.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.109, allocations: 55.6 MB / 0.5434 GB, free: 5.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.00171/0.1107, allocations: 497.1 kB / 0.5439 GB, free: 4.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001636/0.1108, allocations: 31.89 kB / 0.5439 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.1109, allocations: 0 / 0.5439 GB, free: 4.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.1109, allocations: 3.938 kB / 0.5439 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.1109, allocations: 0 / 0.5439 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.111, allocations: 4 kB / 0.5439 GB, free: 4.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.796e-05/0.1111, allocations: 4 kB / 0.5439 GB, free: 4.551 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.523e-05/0.1112, allocations: 7.984 kB / 0.544 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.1112, allocations: 0 / 0.544 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.1112, allocations: 11.94 kB / 0.544 GB, free: 4.531 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1113, allocations: 0 / 0.544 GB, free: 4.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.1113, allocations: 3.938 kB / 0.544 GB, free: 4.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.1113, allocations: 4 kB / 0.544 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.1113, allocations: 7.938 kB / 0.544 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.66e-05/0.1114, allocations: 8.25 kB / 0.544 GB, free: 4.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1114, allocations: 0 / 0.544 GB, free: 4.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1114, allocations: 0 / 0.544 GB, free: 4.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1114, allocations: 0 / 0.544 GB, free: 4.508 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004461/0.1118, allocations: 250.4 kB / 0.5442 GB, free: 4.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1119, allocations: 11.98 kB / 0.5442 GB, free: 4.219 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.1119, allocations: 30.75 kB / 0.5443 GB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.112, allocations: 4.891 kB / 0.5443 GB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1121, allocations: 126.4 kB / 0.5444 GB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.1121, allocations: 384 / 0.5444 GB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1121, allocations: 4.375 kB / 0.5444 GB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1122, allocations: 34.25 kB / 0.5444 GB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1122, allocations: 3.938 kB / 0.5444 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1122, allocations: 0 / 0.5444 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1122, allocations: 0 / 0.5444 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.905e-05/0.1123, allocations: 15.92 kB / 0.5444 GB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.1125, allocations: 124.7 kB / 0.5446 GB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.214e-05/0.1126, allocations: 34.61 kB / 0.5446 GB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.1126, allocations: 20.86 kB / 0.5446 GB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-06/0.1126, allocations: 0 / 0.5446 GB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1126, allocations: 30.56 kB / 0.5446 GB, free: 3.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1126, allocations: 0 / 0.5446 GB, free: 3.695 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001672/0.1128, allocations: 57.66 kB / 0.5447 GB, free: 3.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1129, allocations: 51.41 kB / 0.5448 GB, free: 3.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.113, allocations: 101.8 kB / 0.5448 GB, free: 3.461 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.113, allocations: 25.7 kB / 0.5449 GB, free: 3.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.113, allocations: 80.14 kB / 0.5449 GB, free: 3.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.1131, allocations: 11.91 kB / 0.545 GB, free: 3.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.1131, allocations: 13.72 kB / 0.545 GB, free: 3.316 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1133, allocations: 322.8 kB / 0.5453 GB, free: 2.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.1133, allocations: 8 kB / 0.5453 GB, free: 2.984 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-06/0.1133, allocations: 0 / 0.5453 GB, free: 2.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.1133, allocations: 25.27 kB / 0.5453 GB, free: 2.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1133, allocations: 0 / 0.5453 GB, free: 2.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.994e-05/0.1134, allocations: 45.73 kB / 0.5454 GB, free: 2.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1134, allocations: 7.938 kB / 0.5454 GB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1134, allocations: 3.984 kB / 0.5454 GB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1135, allocations: 0 / 0.5454 GB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.617e-05/0.1135, allocations: 11.98 kB / 0.5454 GB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1136, allocations: 4 kB / 0.5454 GB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.1136, allocations: 8 kB / 0.5454 GB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.1136, allocations: 0 / 0.5454 GB, free: 2.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.696e-05/0.1137, allocations: 105.8 kB / 0.5455 GB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.1137, allocations: 11.89 kB / 0.5455 GB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.215e-05/0.1137, allocations: 11.62 kB / 0.5455 GB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1137, allocations: 0 / 0.5455 GB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1137, allocations: 0 / 0.5455 GB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1137, allocations: 3.938 kB / 0.5455 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.1138, allocations: 120.8 kB / 0.5456 GB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1139, allocations: 4 kB / 0.5456 GB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/0.1139, allocations: 16 kB / 0.5457 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.1139, allocations: 7.922 kB / 0.5457 GB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1139, allocations: 4 kB / 0.5457 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1139, allocations: 0 / 0.5457 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1139, allocations: 0 / 0.5457 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.1141, allocations: 73.12 kB / 0.5457 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-06/0.1141, allocations: 0 / 0.5457 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.1141, allocations: 7.969 kB / 0.5457 GB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.1141, allocations: 3.938 kB / 0.5457 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.1141, allocations: 3.984 kB / 0.5457 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1141, allocations: 4.062 kB / 0.5458 GB, free: 2.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.611e-05/0.1142, allocations: 79.28 kB / 0.5458 GB, free: 2.352 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1142, allocations: 3.938 kB / 0.5458 GB, free: 2.348 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000182/0.1144, allocations: 4 kB / 0.5458 GB, free: 2.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0004448/0.1148, allocations: 0.6124 MB / 0.5464 GB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.472e-05/0.1149, allocations: 15.98 kB / 0.5464 GB, free: 1.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1149, allocations: 3.938 kB / 0.5465 GB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.1149, allocations: 8 kB / 0.5465 GB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1151, allocations: 1.875 kB / 0.5465 GB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1161, allocations: 1.117 MB / 0.5476 GB, free: 488 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.732e-05/0.1162, allocations: 59.39 kB / 0.5476 GB, free: 408 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.03e-05/0.1162, allocations: 4 kB / 0.5476 GB, free: 404 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.1163, allocations: 19.41 kB / 0.5476 GB, free: 384 kB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1163, allocations: 0 / 0.5476 GB, free: 384 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.1469, allocations: 1.595 MB / 0.5492 GB, free: 14.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.32, allocations: 2.578 kB / 0.5492 GB, free: 14.88 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical1_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_FirstSteps_Electrical1.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.404596481006593] Failed to read output from testmodel.py, exit status != 0: 11.423497284762561 11.454677599 11.337813291 Calling exit ...