Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical3.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.001358/0.001358, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.5/1.5, allocations: 230.6 MB / 252.7 MB, free: 8.07 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.002529/0.002529, allocations: 220 kB / 309.2 MB, free: 2.945 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.04321/0.04321, allocations: 8.91 MB / 374.6 MB, free: 1.73 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.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical3,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical3",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.003062/0.003062, allocations: 83.88 kB / 0.4891 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3345, allocations: 55.6 MB / 0.5434 GB, free: 26.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.002577/0.3371, allocations: 1.241 MB / 0.5446 GB, free: 25.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000187/0.3373, allocations: 30.19 kB / 0.5447 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.331e-05/0.3373, allocations: 0 / 0.5447 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.3373, allocations: 6.469 kB / 0.5447 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.3374, allocations: 3.938 kB / 0.5447 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000126/0.3375, allocations: 0 / 0.5447 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.727e-05/0.3376, allocations: 20.17 kB / 0.5447 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.3377, allocations: 0 / 0.5447 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.361e-05/0.3377, allocations: 3.031 kB / 0.5447 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.3377, allocations: 10.03 kB / 0.5447 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.3378, allocations: 0 / 0.5447 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.3378, allocations: 3 kB / 0.5447 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.3378, allocations: 7.984 kB / 0.5447 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.794e-05/0.3378, allocations: 10.81 kB / 0.5447 GB, free: 25.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.556e-05/0.3379, allocations: 10.62 kB / 0.5447 GB, free: 25.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.3379, allocations: 3.938 kB / 0.5447 GB, free: 25.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3379, allocations: 2.75 kB / 0.5447 GB, free: 25.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3379, allocations: 0 / 0.5447 GB, free: 25.71 MB / 382.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.0003366/0.3382, allocations: 246 kB / 0.545 GB, free: 25.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3383, allocations: 9.781 kB / 0.545 GB, free: 25.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.3383, allocations: 30.75 kB / 0.545 GB, free: 25.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.3383, allocations: 4.891 kB / 0.545 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.3384, allocations: 113.7 kB / 0.5451 GB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3384, allocations: 384 / 0.5451 GB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3385, allocations: 3.656 kB / 0.5451 GB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.619e-05/0.3386, allocations: 40.06 kB / 0.5452 GB, free: 25.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3386, allocations: 3.938 kB / 0.5452 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.3386, allocations: 0 / 0.5452 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3386, allocations: 3.156 kB / 0.5452 GB, free: 25.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.124e-05/0.3386, allocations: 14.39 kB / 0.5452 GB, free: 25.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.3388, allocations: 123.3 kB / 0.5453 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.92e-05/0.3388, allocations: 39.33 kB / 0.5453 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.031e-05/0.3389, allocations: 15.2 kB / 0.5454 GB, free: 25.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.3389, allocations: 3.375 kB / 0.5454 GB, free: 25.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3389, allocations: 33.88 kB / 0.5454 GB, free: 24.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3389, allocations: 0 / 0.5454 GB, free: 24.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001516/0.3391, allocations: 57.81 kB / 0.5455 GB, free: 24.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.3391, allocations: 51.41 kB / 0.5455 GB, free: 24.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.298e-05/0.3391, allocations: 96.52 kB / 0.5456 GB, free: 24.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.3392, allocations: 25.7 kB / 0.5456 GB, free: 24.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.3392, allocations: 87.27 kB / 0.5457 GB, free: 24.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.3392, allocations: 7.906 kB / 0.5457 GB, free: 24.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.3392, allocations: 17.03 kB / 0.5457 GB, free: 24.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.3393, allocations: 321.4 kB / 0.546 GB, free: 24.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.3393, allocations: 3.188 kB / 0.546 GB, free: 24.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.3393, allocations: 7.156 kB / 0.546 GB, free: 24.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.3394, allocations: 15.23 kB / 0.5461 GB, free: 24.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.3394, allocations: 3.938 kB / 0.5461 GB, free: 24.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.475e-05/0.3394, allocations: 46.09 kB / 0.5461 GB, free: 24.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3394, allocations: 10.34 kB / 0.5461 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3395, allocations: 0 / 0.5461 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3395, allocations: 3.328 kB / 0.5461 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.264e-05/0.3396, allocations: 9.75 kB / 0.5461 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3396, allocations: 4 kB / 0.5461 GB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.3396, allocations: 0 / 0.5461 GB, free: 24.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.3396, allocations: 0 / 0.5461 GB, free: 24.26 MB / 382.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 4.912e-05/0.3396, allocations: 113 kB / 0.5462 GB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.3396, allocations: 11.83 kB / 0.5462 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.154e-05/0.3397, allocations: 10.22 kB / 0.5463 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3397, allocations: 0 / 0.5463 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3397, allocations: 0 / 0.5463 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3397, allocations: 0 / 0.5463 GB, free: 24.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.882e-05/0.3397, allocations: 130.7 kB / 0.5464 GB, free: 23.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3398, allocations: 4 kB / 0.5464 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.3398, allocations: 14.22 kB / 0.5464 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3398, allocations: 8.391 kB / 0.5464 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3398, allocations: 0 / 0.5464 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3398, allocations: 0 / 0.5464 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3398, allocations: 3.25 kB / 0.5464 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.3399, allocations: 79.69 kB / 0.5465 GB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.34, allocations: 0 / 0.5465 GB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.34, allocations: 7.344 kB / 0.5465 GB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.803e-05/0.34, allocations: 0 / 0.5465 GB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.34, allocations: 3.469 kB / 0.5465 GB, free: 23.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.34, allocations: 3.344 kB / 0.5465 GB, free: 23.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.075e-05/0.34, allocations: 83.34 kB / 0.5466 GB, free: 23.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.34, allocations: 0 / 0.5466 GB, free: 23.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.3402, allocations: 6.344 kB / 0.5466 GB, free: 23.79 MB / 382.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.0002405/0.3405, allocations: 0.6154 MB / 0.5472 GB, free: 23.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.251e-05/0.3406, allocations: 13.59 kB / 0.5472 GB, free: 23.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3406, allocations: 0 / 0.5472 GB, free: 23.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.3406, allocations: 13.8 kB / 0.5472 GB, free: 23.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.3407, allocations: 3.938 kB / 0.5472 GB, free: 23.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.3415, allocations: 1.17 MB / 0.5484 GB, free: 22.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.255e-05/0.3415, allocations: 61 kB / 0.5484 GB, free: 21.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.574e-05/0.3415, allocations: 3.219 kB / 0.5484 GB, free: 21.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.3416, allocations: 11.44 kB / 0.5484 GB, free: 21.94 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3416, allocations: 0 / 0.5484 GB, free: 21.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.3713, allocations: 1.623 MB / 0.55 GB, free: 21.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 7.141 kB / 0.55 GB, free: 21.14 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical3.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical3_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_Electrical3.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.529292485676706] Failed to read output from testmodel.py, exit status != 0: 11.782617118675262 11.80205737 11.460503394 Calling exit ...