Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.001404/0.001404, 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.543/1.543, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001566/0.001566, allocations: 211 kB / 309.2 MB, free: 3.117 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.04178/0.04178, allocations: 8.924 MB / 374.6 MB, free: 6.59 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.Electrical2,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical2,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical2",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.002517/0.002517, allocations: 84.3 kB / 0.4891 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.096, allocations: 55.61 MB / 0.5434 GB, free: 5.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001741/0.09775, allocations: 0.4955 MB / 0.5439 GB, free: 4.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001667/0.09791, allocations: 27.89 kB / 0.5439 GB, free: 4.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.09794, allocations: 0 / 0.5439 GB, free: 4.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.09796, allocations: 3.938 kB / 0.5439 GB, free: 4.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 4.835e-05/0.09801, allocations: 4 kB / 0.544 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.09812, allocations: 0 / 0.544 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.92e-05/0.0982, allocations: 19.86 kB / 0.544 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.09825, allocations: 3.984 kB / 0.544 GB, free: 4.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.09828, allocations: 11.94 kB / 0.544 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.749e-05/0.09833, allocations: 11.98 kB / 0.544 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.09835, allocations: 0 / 0.544 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.09836, allocations: 0 / 0.544 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.09837, allocations: 0 / 0.544 GB, free: 4.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.0984, allocations: 7.938 kB / 0.544 GB, free: 4.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.853e-05/0.09847, allocations: 8.219 kB / 0.544 GB, free: 4.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.09848, allocations: 4 kB / 0.544 GB, free: 4.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.09848, allocations: 0 / 0.544 GB, free: 4.477 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.09849, allocations: 3.938 kB / 0.544 GB, free: 4.473 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.0003911/0.09888, allocations: 246.4 kB / 0.5443 GB, free: 4.199 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.09892, allocations: 11.98 kB / 0.5443 GB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.09896, allocations: 38.75 kB / 0.5443 GB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.09899, allocations: 12.88 kB / 0.5443 GB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.09911, allocations: 102.5 kB / 0.5444 GB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.09912, allocations: 384 / 0.5444 GB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.09914, allocations: 4.375 kB / 0.5444 GB, free: 4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.09925, allocations: 42.23 kB / 0.5445 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.09926, allocations: 7.875 kB / 0.5445 GB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.09927, allocations: 0 / 0.5445 GB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.09927, allocations: 0 / 0.5445 GB, free: 3.945 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.95e-05/0.09931, allocations: 4 kB / 0.5445 GB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.0995, allocations: 132.8 kB / 0.5446 GB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.974e-05/0.09958, allocations: 34.58 kB / 0.5446 GB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.09962, allocations: 16.94 kB / 0.5446 GB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.09963, allocations: 0 / 0.5446 GB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.09966, allocations: 34.5 kB / 0.5447 GB, free: 3.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.09966, allocations: 0 / 0.5447 GB, free: 3.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001505/0.09981, allocations: 53.62 kB / 0.5447 GB, free: 3.605 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.09986, allocations: 51.41 kB / 0.5448 GB, free: 3.543 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.09994, allocations: 97.86 kB / 0.5449 GB, free: 3.438 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.09996, allocations: 29.64 kB / 0.5449 GB, free: 3.402 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.1, allocations: 80.14 kB / 0.545 GB, free: 3.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1, allocations: 27.83 kB / 0.545 GB, free: 3.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1001, allocations: 9.719 kB / 0.545 GB, free: 3.277 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1002, allocations: 318.8 kB / 0.5453 GB, free: 2.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.1002, allocations: 4 kB / 0.5453 GB, free: 2.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.303e-05/0.1002, allocations: 7.984 kB / 0.5453 GB, free: 2.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.1003, allocations: 24.8 kB / 0.5454 GB, free: 2.918 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1003, allocations: 0 / 0.5454 GB, free: 2.918 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.59e-05/0.1003, allocations: 45.69 kB / 0.5454 GB, free: 2.867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1004, allocations: 7.938 kB / 0.5454 GB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.1004, allocations: 0 / 0.5454 GB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1004, allocations: 4 kB / 0.5454 GB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.1005, allocations: 8.516 kB / 0.5454 GB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1005, allocations: 3.938 kB / 0.5454 GB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.1005, allocations: 4 kB / 0.5454 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.1005, allocations: 0 / 0.5454 GB, free: 2.84 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 7.559e-05/0.1006, allocations: 109.8 kB / 0.5455 GB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.1006, allocations: 15.88 kB / 0.5455 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.1006, allocations: 7.688 kB / 0.5456 GB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1006, allocations: 3.984 kB / 0.5456 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1006, allocations: 0 / 0.5456 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1006, allocations: 4 kB / 0.5456 GB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.1007, allocations: 120.8 kB / 0.5457 GB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1007, allocations: 11.98 kB / 0.5457 GB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.1008, allocations: 4 kB / 0.5457 GB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1008, allocations: 7.938 kB / 0.5457 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1008, allocations: 0 / 0.5457 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1008, allocations: 0 / 0.5457 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1008, allocations: 0 / 0.5457 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.1009, allocations: 73.12 kB / 0.5458 GB, free: 2.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.1009, allocations: 8.016 kB / 0.5458 GB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.1009, allocations: 3.938 kB / 0.5458 GB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.622e-05/0.101, allocations: 4.062 kB / 0.5458 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.101, allocations: 3.938 kB / 0.5458 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.101, allocations: 0 / 0.5458 GB, free: 2.398 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.735e-05/0.101, allocations: 79.28 kB / 0.5459 GB, free: 2.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.101, allocations: 0 / 0.5459 GB, free: 2.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001762/0.1012, allocations: 8 kB / 0.5459 GB, free: 2.312 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.0004106/0.1016, allocations: 0.6124 MB / 0.5465 GB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.29e-05/0.1017, allocations: 19.88 kB / 0.5465 GB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1017, allocations: 0 / 0.5465 GB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.682e-05/0.1017, allocations: 12.05 kB / 0.5465 GB, free: 1.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1018, allocations: 4 kB / 0.5465 GB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.1029, allocations: 1.174 MB / 0.5476 GB, free: 388 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.329e-05/0.103, allocations: 63.34 kB / 0.5477 GB, free: 304 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.327e-05/0.103, allocations: 0 / 0.5477 GB, free: 304 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.103, allocations: 15.38 kB / 0.5477 GB, free: 288 kB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.103, allocations: 0 / 0.5477 GB, free: 288 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.1324, allocations: 1.631 MB / 0.5493 GB, free: 14.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.36, allocations: 2.969 kB / 0.5493 GB, free: 14.76 MB / 382.1 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical2_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_Electrical2.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.352406063117087] Failed to read output from testmodel.py, exit status != 0: 11.459759669844061 11.479479339 11.377732469 Calling exit ...