Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.001838/0.001838, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.486/1.486, allocations: 230.6 MB / 252.6 MB, free: 8.293 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.00161/0.00161, allocations: 205.8 kB / 309.2 MB, free: 3.125 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.04377/0.04377, allocations: 8.913 MB / 374.6 MB, free: 1.883 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.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",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.002498/0.002498, allocations: 81.83 kB / 0.4892 GB, free: 4.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1219, allocations: 55.63 MB / 0.5435 GB, free: 5.039 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003324/0.1252, allocations: 1.835 MB / 0.5453 GB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.1262, allocations: 0.4948 MB / 0.5458 GB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.1263, allocations: 4 kB / 0.5458 GB, free: 2.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1264, allocations: 19.78 kB / 0.5458 GB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.796e-05/0.1264, allocations: 35.7 kB / 0.5458 GB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.1266, allocations: 23.97 kB / 0.5459 GB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1268, allocations: 119.5 kB / 0.546 GB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1269, allocations: 33.58 kB / 0.546 GB, free: 2.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.127, allocations: 47.8 kB / 0.5461 GB, free: 2.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1271, allocations: 59.75 kB / 0.5461 GB, free: 2.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.1271, allocations: 8 kB / 0.5461 GB, free: 2.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.336e-05/0.1272, allocations: 12 kB / 0.5461 GB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.1272, allocations: 23.92 kB / 0.5462 GB, free: 2.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.1273, allocations: 51.73 kB / 0.5462 GB, free: 2.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.1275, allocations: 123.5 kB / 0.5463 GB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1275, allocations: 0 / 0.5463 GB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1275, allocations: 3.938 kB / 0.5463 GB, free: 2.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1275, allocations: 0 / 0.5463 GB, free: 2.133 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000663/0.1281, allocations: 341.8 kB / 0.5467 GB, free: 1.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.1282, allocations: 12.03 kB / 0.5467 GB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.056e-05/0.1282, allocations: 46.73 kB / 0.5467 GB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.1283, allocations: 12.89 kB / 0.5467 GB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1286, allocations: 138.4 kB / 0.5469 GB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1286, allocations: 8.375 kB / 0.5469 GB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.1287, allocations: 16.31 kB / 0.5469 GB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.1289, allocations: 105.8 kB / 0.547 GB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1289, allocations: 0 / 0.547 GB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.1289, allocations: 4 kB / 0.547 GB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1289, allocations: 4 kB / 0.547 GB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.1291, allocations: 59.97 kB / 0.547 GB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008961/0.13, allocations: 481.3 kB / 0.5475 GB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.1301, allocations: 42.56 kB / 0.5475 GB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.1301, allocations: 16.86 kB / 0.5476 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1301, allocations: 0 / 0.5476 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1301, allocations: 30.56 kB / 0.5476 GB, free: 0.6992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1301, allocations: 0 / 0.5476 GB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000201/0.1303, allocations: 73.84 kB / 0.5477 GB, free: 0.6211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1304, allocations: 59.39 kB / 0.5477 GB, free: 0.5508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1306, allocations: 140.5 kB / 0.5478 GB, free: 416 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1306, allocations: 25.7 kB / 0.5479 GB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.461e-05/0.1307, allocations: 124.1 kB / 0.548 GB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.1307, allocations: 11.91 kB / 0.548 GB, free: 240 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.1307, allocations: 25.7 kB / 0.548 GB, free: 208 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1309, allocations: 318.8 kB / 0.5483 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/0.131, allocations: 19.98 kB / 0.5484 GB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.486e-05/0.131, allocations: 30.58 kB / 0.5484 GB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.888e-05/0.1311, allocations: 50.5 kB / 0.5484 GB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1311, allocations: 0 / 0.5484 GB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001358/0.1312, allocations: 81.58 kB / 0.5485 GB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1312, allocations: 8.062 kB / 0.5485 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1312, allocations: 0 / 0.5485 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1313, allocations: 4 kB / 0.5485 GB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1314, allocations: 15.94 kB / 0.5485 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1314, allocations: 0 / 0.5485 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.1314, allocations: 11.89 kB / 0.5485 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.1314, allocations: 0 / 0.5485 GB, free: 15.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001132/0.1315, allocations: 133.7 kB / 0.5487 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1316, allocations: 3.953 kB / 0.5487 GB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.1316, allocations: 16.34 kB / 0.5487 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1316, allocations: 0 / 0.5487 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1316, allocations: 0 / 0.5487 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1316, allocations: 0 / 0.5487 GB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.1318, allocations: 168.7 kB / 0.5489 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.1318, allocations: 7.938 kB / 0.5489 GB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.98e-05/0.1319, allocations: 12 kB / 0.5489 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1319, allocations: 0 / 0.5489 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1319, allocations: 4 kB / 0.5489 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1319, allocations: 0 / 0.5489 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1319, allocations: 0 / 0.5489 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.1321, allocations: 175.4 kB / 0.549 GB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.1321, allocations: 7.984 kB / 0.5491 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.1322, allocations: 0 / 0.5491 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/0.1322, allocations: 4 kB / 0.5491 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.1323, allocations: 3.984 kB / 0.5491 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1323, allocations: 0 / 0.5491 GB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.964e-05/0.1324, allocations: 111.3 kB / 0.5492 GB, free: 14.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 4 kB / 0.5492 GB, free: 14.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1326, allocations: 23.89 kB / 0.5492 GB, free: 14.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.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 (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 Backend phase and start with SimCode phase: time 0.0005136/0.1331, allocations: 0.6929 MB / 0.5499 GB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.1333, allocations: 31.92 kB / 0.5499 GB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1333, allocations: 4.188 kB / 0.5499 GB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.1333, allocations: 15.94 kB / 0.5499 GB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.1336, allocations: 8 kB / 0.5499 GB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.1356, allocations: 1.576 MB / 0.5515 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.136, allocations: 0.7039 MB / 0.5522 GB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.75e-05/0.136, allocations: 12.66 kB / 0.5522 GB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.137e-05/0.1361, allocations: 27.44 kB / 0.5522 GB, free: 11.69 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1361, allocations: 0 / 0.5522 GB, free: 11.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.1671, allocations: 2.165 MB / 0.5543 GB, free: 9.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.18, allocations: 10.91 kB / 0.5543 GB, free: 9.652 MB / 366.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical4_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_Electrical4.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.146696397001506] Failed to read output from testmodel.py, exit status != 0: 11.286611414994695 11.303239677 11.172539573 Calling exit ...