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.001428/0.001428, allocations: 120 kB / 17.17 MB, free: 5.977 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.521/1.521, allocations: 230.6 MB / 250.5 MB, free: 9.211 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.001544/0.001544, allocations: 211.8 kB / 306.7 MB, free: 4.293 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.04211/0.04211, allocations: 8.905 MB / 371.7 MB, free: 3.418 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical4,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical4",fmuType="cs",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.002496/0.002496, allocations: 79.88 kB / 496.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2985, allocations: 55.57 MB / 0.5391 GB, free: 26.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002839/0.3013, allocations: 1.834 MB / 0.5408 GB, free: 25.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.3021, allocations: 496.9 kB / 0.5413 GB, free: 24.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.3022, allocations: 3.188 kB / 0.5413 GB, free: 24.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.3024, allocations: 21.66 kB / 0.5413 GB, free: 24.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.3024, allocations: 37.59 kB / 0.5414 GB, free: 24.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.3026, allocations: 26.41 kB / 0.5414 GB, free: 24.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3027, allocations: 120.8 kB / 0.5415 GB, free: 24.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.3029, allocations: 32.81 kB / 0.5416 GB, free: 24.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.601e-05/0.3029, allocations: 50.45 kB / 0.5416 GB, free: 24.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.42e-05/0.303, allocations: 54.34 kB / 0.5417 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.303, allocations: 9.625 kB / 0.5417 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.3031, allocations: 9.688 kB / 0.5417 GB, free: 24.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.3031, allocations: 22.69 kB / 0.5417 GB, free: 24.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.3031, allocations: 58.41 kB / 0.5417 GB, free: 24.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.3033, allocations: 125.6 kB / 0.5419 GB, free: 24.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3033, allocations: 0 / 0.5419 GB, free: 24.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3033, allocations: 0 / 0.5419 GB, free: 24.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.3033, allocations: 3.219 kB / 0.5419 GB, free: 24.7 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005021/0.3038, allocations: 410.6 kB / 0.5423 GB, free: 24.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3039, allocations: 9.375 kB / 0.5423 GB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.145e-05/0.3039, allocations: 3.375 kB / 0.5423 GB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.3039, allocations: 42.06 kB / 0.5423 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3039, allocations: 18.67 kB / 0.5423 GB, free: 24.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.3042, allocations: 197.3 kB / 0.5425 GB, free: 24.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3042, allocations: 6.688 kB / 0.5425 GB, free: 24.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3042, allocations: 10.75 kB / 0.5425 GB, free: 24.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.3044, allocations: 111.2 kB / 0.5426 GB, free: 23.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3044, allocations: 0 / 0.5426 GB, free: 23.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3044, allocations: 7.312 kB / 0.5427 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3044, allocations: 0 / 0.5427 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3045, allocations: 67.02 kB / 0.5427 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.3052, allocations: 0.4969 MB / 0.5432 GB, free: 23.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.927e-05/0.3053, allocations: 50.05 kB / 0.5432 GB, free: 23.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.3053, allocations: 18.81 kB / 0.5433 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.3053, allocations: 4 kB / 0.5433 GB, free: 23.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3054, allocations: 33.78 kB / 0.5433 GB, free: 23.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.385e-06/0.3054, allocations: 3.984 kB / 0.5433 GB, free: 23.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001892/0.3055, allocations: 63.52 kB / 0.5434 GB, free: 23.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.3056, allocations: 54.72 kB / 0.5434 GB, free: 23.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.3057, allocations: 143.2 kB / 0.5436 GB, free: 23.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.3057, allocations: 25.7 kB / 0.5436 GB, free: 23.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.3057, allocations: 117.8 kB / 0.5437 GB, free: 23.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.3057, allocations: 22.34 kB / 0.5437 GB, free: 23.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.3058, allocations: 19.88 kB / 0.5437 GB, free: 23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.3058, allocations: 322.3 kB / 0.544 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.3059, allocations: 13.25 kB / 0.5441 GB, free: 22.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.964e-05/0.3059, allocations: 35.64 kB / 0.5441 GB, free: 22.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.306, allocations: 50.77 kB / 0.5441 GB, free: 22.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.306, allocations: 3.938 kB / 0.5441 GB, free: 22.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001004/0.3061, allocations: 84.89 kB / 0.5442 GB, free: 22.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3061, allocations: 6.75 kB / 0.5442 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3061, allocations: 0 / 0.5442 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3061, allocations: 0 / 0.5442 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.3062, allocations: 12.47 kB / 0.5442 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3062, allocations: 3.188 kB / 0.5442 GB, free: 22.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.3062, allocations: 11.53 kB / 0.5443 GB, free: 22.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.3062, allocations: 6.969 kB / 0.5443 GB, free: 22.54 MB / 382.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 6.337e-05/0.3063, allocations: 123.9 kB / 0.5444 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3063, allocations: 7.109 kB / 0.5444 GB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.3064, allocations: 11.53 kB / 0.5444 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3064, allocations: 0 / 0.5444 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3064, allocations: 0 / 0.5444 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3064, allocations: 0 / 0.5444 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.3065, allocations: 202.4 kB / 0.5446 GB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3065, allocations: 0 / 0.5446 GB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.3066, allocations: 13.66 kB / 0.5446 GB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3066, allocations: 0 / 0.5446 GB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.3066, allocations: 64 / 0.5446 GB, free: 22.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3066, allocations: 4 kB / 0.5446 GB, free: 22.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3066, allocations: 0 / 0.5446 GB, free: 22.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.3067, allocations: 166.9 kB / 0.5448 GB, free: 22.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.3068, allocations: 84.03 kB / 0.5448 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.3068, allocations: 7.469 kB / 0.5449 GB, free: 21.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.3069, allocations: 10.97 kB / 0.5449 GB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.3069, allocations: 3.062 kB / 0.5449 GB, free: 21.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.3069, allocations: 0 / 0.5449 GB, free: 21.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.957e-05/0.307, allocations: 112.7 kB / 0.545 GB, free: 21.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.307, allocations: 0 / 0.545 GB, free: 21.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.3072, allocations: 27.67 kB / 0.545 GB, free: 21.82 MB / 382.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.0002614/0.3075, allocations: 0.6938 MB / 0.5457 GB, free: 21.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.3076, allocations: 34.36 kB / 0.5457 GB, free: 21.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3076, allocations: 0 / 0.5457 GB, free: 21.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.3076, allocations: 13.5 kB / 0.5457 GB, free: 21.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.3079, allocations: 7.125 kB / 0.5457 GB, free: 21.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3091, allocations: 1.584 MB / 0.5473 GB, free: 19.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.3092, allocations: 0.698 MB / 0.548 GB, free: 19.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.396e-05/0.3092, allocations: 7.438 kB / 0.548 GB, free: 19.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.3093, allocations: 26.69 kB / 0.548 GB, free: 19.02 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3093, allocations: 3.938 kB / 0.548 GB, free: 19.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.3284, allocations: 2.059 MB / 0.55 GB, free: 18.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/9.084, allocations: 6.875 kB / 0.55 GB, free: 18.56 MB / 382.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical4_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical4.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.836875532986596] Failed to read output from testmodel.py, exit status != 0: 9.210843840963207 9.226589839 8.919750043 Calling exit ...