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.001381/0.001381, 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.441/1.441, allocations: 230.6 MB / 252.7 MB, free: 8.086 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.001813/0.001813, allocations: 221.7 kB / 309.2 MB, free: 2.922 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.04095/0.04095, allocations: 8.913 MB / 374.6 MB, free: 1.707 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.002633/0.002633, allocations: 83.88 kB / 0.4891 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.267, allocations: 55.6 MB / 0.5434 GB, free: 26.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.001912/0.2689, allocations: 1.24 MB / 0.5446 GB, free: 25.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001202/0.2691, allocations: 14.92 kB / 0.5447 GB, free: 25.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.2691, allocations: 0 / 0.5447 GB, free: 25.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.2691, allocations: 6.484 kB / 0.5447 GB, free: 25.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.2691, allocations: 7.922 kB / 0.5447 GB, free: 25.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.264e-05/0.2692, allocations: 0 / 0.5447 GB, free: 25.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.236e-05/0.2693, allocations: 16.47 kB / 0.5447 GB, free: 25.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.2693, allocations: 0 / 0.5447 GB, free: 25.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.2693, allocations: 11 kB / 0.5447 GB, free: 25.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.915e-05/0.2694, allocations: 10.52 kB / 0.5447 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.2694, allocations: 0 / 0.5447 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.2694, allocations: 3.031 kB / 0.5447 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.2694, allocations: 0 / 0.5447 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.2694, allocations: 11.14 kB / 0.5447 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.55e-05/0.2695, allocations: 14.48 kB / 0.5447 GB, free: 25.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2695, allocations: 0 / 0.5447 GB, free: 25.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2695, allocations: 0 / 0.5447 GB, free: 25.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2695, allocations: 3.031 kB / 0.5447 GB, free: 25.76 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.0002748/0.2698, allocations: 250.1 kB / 0.545 GB, free: 25.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2698, allocations: 13.66 kB / 0.545 GB, free: 25.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.054e-05/0.2698, allocations: 30.75 kB / 0.545 GB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.2699, allocations: 8.891 kB / 0.545 GB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.044e-05/0.2699, allocations: 109.7 kB / 0.5451 GB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.2699, allocations: 384 / 0.5451 GB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.27, allocations: 3.656 kB / 0.5451 GB, free: 25.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.011e-05/0.27, allocations: 40.09 kB / 0.5452 GB, free: 25.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.27, allocations: 7.875 kB / 0.5452 GB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2701, allocations: 0 / 0.5452 GB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2701, allocations: 0 / 0.5452 GB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.078e-05/0.2701, allocations: 14.12 kB / 0.5452 GB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000111/0.2702, allocations: 124 kB / 0.5453 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.273e-05/0.2703, allocations: 34.62 kB / 0.5453 GB, free: 25.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/0.2703, allocations: 15.14 kB / 0.5454 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2703, allocations: 0 / 0.5454 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.289e-05/0.2703, allocations: 34.08 kB / 0.5454 GB, free: 25.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.2703, allocations: 0 / 0.5454 GB, free: 25.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000126/0.2704, allocations: 53.84 kB / 0.5454 GB, free: 24.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.2705, allocations: 54.53 kB / 0.5455 GB, free: 24.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.327e-05/0.2705, allocations: 100.8 kB / 0.5456 GB, free: 24.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.2705, allocations: 29.7 kB / 0.5456 GB, free: 24.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.2705, allocations: 83.27 kB / 0.5457 GB, free: 24.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.2705, allocations: 15.38 kB / 0.5457 GB, free: 24.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.2706, allocations: 12.78 kB / 0.5457 GB, free: 24.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.898e-05/0.2706, allocations: 318.2 kB / 0.546 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.2706, allocations: 6.625 kB / 0.546 GB, free: 24.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.022e-05/0.2706, allocations: 2.781 kB / 0.546 GB, free: 24.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.127e-05/0.2707, allocations: 15.08 kB / 0.5461 GB, free: 24.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2707, allocations: 7.125 kB / 0.5461 GB, free: 24.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.508e-05/0.2707, allocations: 49.97 kB / 0.5461 GB, free: 24.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.2707, allocations: 7.156 kB / 0.5461 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.2707, allocations: 4 kB / 0.5461 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.2708, allocations: 0 / 0.5461 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.2708, allocations: 13.09 kB / 0.5461 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.2708, allocations: 0 / 0.5461 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.605e-05/0.2709, allocations: 0 / 0.5461 GB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.2709, allocations: 3.188 kB / 0.5461 GB, free: 24.3 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 3.675e-05/0.2709, allocations: 105.8 kB / 0.5462 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-06/0.2709, allocations: 11.05 kB / 0.5462 GB, free: 24.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.69e-05/0.2709, allocations: 7.688 kB / 0.5462 GB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.2709, allocations: 0 / 0.5462 GB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2709, allocations: 7.938 kB / 0.5463 GB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2709, allocations: 3.469 kB / 0.5463 GB, free: 24.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.309e-05/0.271, allocations: 127.1 kB / 0.5464 GB, free: 24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.271, allocations: 0 / 0.5464 GB, free: 24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.271, allocations: 13.83 kB / 0.5464 GB, free: 24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.271, allocations: 3.938 kB / 0.5464 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.271, allocations: 7.156 kB / 0.5464 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.271, allocations: 0 / 0.5464 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2711, allocations: 0 / 0.5464 GB, free: 23.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.573e-05/0.2711, allocations: 72.48 kB / 0.5465 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-06/0.2712, allocations: 6.5 kB / 0.5465 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2712, allocations: 8 kB / 0.5465 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.678e-05/0.2712, allocations: 0 / 0.5465 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.2712, allocations: 3.25 kB / 0.5465 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.2712, allocations: 0 / 0.5465 GB, free: 23.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.759e-05/0.2712, allocations: 81.98 kB / 0.5466 GB, free: 23.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2712, allocations: 0 / 0.5466 GB, free: 23.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.2714, allocations: 7.25 kB / 0.5466 GB, free: 23.83 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.0002013/0.2716, allocations: 0.6159 MB / 0.5472 GB, free: 23.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.394e-05/0.2717, allocations: 20.19 kB / 0.5472 GB, free: 23.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2717, allocations: 4.062 kB / 0.5472 GB, free: 23.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.2717, allocations: 7.094 kB / 0.5472 GB, free: 23.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.2718, allocations: 11.22 kB / 0.5472 GB, free: 23.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.2725, allocations: 1.176 MB / 0.5484 GB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.944e-05/0.2726, allocations: 61.22 kB / 0.5484 GB, free: 21.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.366e-05/0.2726, allocations: 0 / 0.5484 GB, free: 21.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.2726, allocations: 10.62 kB / 0.5484 GB, free: 21.97 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2726, allocations: 0 / 0.5484 GB, free: 21.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.3006, allocations: 1.622 MB / 0.55 GB, free: 21.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.42, allocations: 4.219 kB / 0.55 GB, free: 21.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical3_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical3.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.037629052065313] Failed to read output from testmodel.py, exit status != 0: 11.528200123924762 11.550029507 11.27626866 Calling exit ...