Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.001697/0.001697, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.477/1.477, allocations: 230.6 MB / 250.5 MB, free: 9.41 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.001678/0.001678, allocations: 207.9 kB / 306.7 MB, free: 4.371 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.04144/0.04144, allocations: 8.912 MB / 371.7 MB, free: 3.5 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.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical5,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical5",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.002431/0.002431, allocations: 79.88 kB / 496.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2794, allocations: 55.57 MB / 0.5391 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002487/0.2819, allocations: 1.842 MB / 0.5409 GB, free: 25.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000754/0.2826, allocations: 0.4886 MB / 0.5413 GB, free: 24.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.417e-05/0.2827, allocations: 3.375 kB / 0.5413 GB, free: 24.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.2828, allocations: 18.75 kB / 0.5414 GB, free: 24.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.015e-05/0.2829, allocations: 30 kB / 0.5414 GB, free: 24.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.2831, allocations: 29.22 kB / 0.5414 GB, free: 24.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.2832, allocations: 127.3 kB / 0.5415 GB, free: 24.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.2833, allocations: 34.12 kB / 0.5416 GB, free: 24.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.486e-05/0.2834, allocations: 50.44 kB / 0.5416 GB, free: 24.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.678e-05/0.2835, allocations: 50.12 kB / 0.5417 GB, free: 24.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.2835, allocations: 9.312 kB / 0.5417 GB, free: 24.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.063e-05/0.2835, allocations: 10 kB / 0.5417 GB, free: 24.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.653e-05/0.2836, allocations: 21.75 kB / 0.5417 GB, free: 24.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.2836, allocations: 61.45 kB / 0.5418 GB, free: 24.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.2838, allocations: 120.2 kB / 0.5419 GB, free: 24.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2838, allocations: 0 / 0.5419 GB, free: 24.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2838, allocations: 2.906 kB / 0.5419 GB, free: 24.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2838, allocations: 7.375 kB / 0.5419 GB, free: 24.68 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.0004807/0.2843, allocations: 407.9 kB / 0.5423 GB, free: 24.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2843, allocations: 9.688 kB / 0.5423 GB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.092e-05/0.2843, allocations: 3.281 kB / 0.5423 GB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.189e-05/0.2844, allocations: 49.05 kB / 0.5423 GB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.2844, allocations: 11.33 kB / 0.5424 GB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.2846, allocations: 196 kB / 0.5425 GB, free: 24.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2846, allocations: 7.5 kB / 0.5425 GB, free: 24.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.2847, allocations: 17.75 kB / 0.5426 GB, free: 24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.2848, allocations: 106.8 kB / 0.5427 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2848, allocations: 0 / 0.5427 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2848, allocations: 4 kB / 0.5427 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2849, allocations: 3.281 kB / 0.5427 GB, free: 23.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.285, allocations: 65.27 kB / 0.5427 GB, free: 23.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.2856, allocations: 0.4984 MB / 0.5432 GB, free: 23.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.059e-05/0.2857, allocations: 52.56 kB / 0.5433 GB, free: 23.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.2857, allocations: 18.91 kB / 0.5433 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/0.2857, allocations: 0 / 0.5433 GB, free: 23.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.2857, allocations: 34.56 kB / 0.5433 GB, free: 23.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.492e-06/0.2857, allocations: 3.984 kB / 0.5433 GB, free: 23.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001798/0.2859, allocations: 67.12 kB / 0.5434 GB, free: 23.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2859, allocations: 51.41 kB / 0.5434 GB, free: 23.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.286, allocations: 145.2 kB / 0.5436 GB, free: 23.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.286, allocations: 25.7 kB / 0.5436 GB, free: 23.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.2861, allocations: 114.2 kB / 0.5437 GB, free: 23.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.2861, allocations: 19.27 kB / 0.5437 GB, free: 23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.2861, allocations: 24.06 kB / 0.5438 GB, free: 22.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.2862, allocations: 325.3 kB / 0.5441 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.2862, allocations: 10.44 kB / 0.5441 GB, free: 22.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.297e-05/0.2863, allocations: 31.66 kB / 0.5441 GB, free: 22.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.627e-05/0.2863, allocations: 46.36 kB / 0.5441 GB, free: 22.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2863, allocations: 7.938 kB / 0.5442 GB, free: 22.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.708e-05/0.2864, allocations: 81.23 kB / 0.5442 GB, free: 22.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2864, allocations: 6.156 kB / 0.5442 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2864, allocations: 0 / 0.5442 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2865, allocations: 2.938 kB / 0.5442 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.755e-05/0.2866, allocations: 16.72 kB / 0.5443 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2866, allocations: 0 / 0.5443 GB, free: 22.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.343e-05/0.2866, allocations: 7.172 kB / 0.5443 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.2866, allocations: 3.219 kB / 0.5443 GB, free: 22.52 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 7.983e-05/0.2867, allocations: 128.5 kB / 0.5444 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.2867, allocations: 7.141 kB / 0.5444 GB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.718e-05/0.2867, allocations: 11.31 kB / 0.5444 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2867, allocations: 0 / 0.5444 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2868, allocations: 0 / 0.5444 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2868, allocations: 0 / 0.5444 GB, free: 22.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.2869, allocations: 201.8 kB / 0.5446 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2869, allocations: 3.125 kB / 0.5446 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.287, allocations: 6.219 kB / 0.5446 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.287, allocations: 3.062 kB / 0.5446 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.287, allocations: 8 kB / 0.5446 GB, free: 22.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.287, allocations: 4 kB / 0.5446 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.287, allocations: 0 / 0.5446 GB, free: 22.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.2871, allocations: 172.4 kB / 0.5448 GB, free: 22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.2871, allocations: 81.06 kB / 0.5449 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.2872, allocations: 0 / 0.5449 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.2872, allocations: 10.64 kB / 0.5449 GB, free: 21.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.2873, allocations: 7.094 kB / 0.5449 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.2873, allocations: 0 / 0.5449 GB, free: 21.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.283e-05/0.2873, allocations: 112.7 kB / 0.545 GB, free: 21.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2873, allocations: 0 / 0.545 GB, free: 21.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000233/0.2876, allocations: 27.77 kB / 0.545 GB, free: 21.8 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.000254/0.2878, allocations: 0.694 MB / 0.5457 GB, free: 21.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.2879, allocations: 34.33 kB / 0.5457 GB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2879, allocations: 0 / 0.5457 GB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.716e-05/0.2879, allocations: 10.31 kB / 0.5457 GB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.2882, allocations: 10.66 kB / 0.5457 GB, free: 21.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.2895, allocations: 1.584 MB / 0.5473 GB, free: 19.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.2896, allocations: 0.7018 MB / 0.548 GB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.905e-05/0.2897, allocations: 7.188 kB / 0.548 GB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.2897, allocations: 26.06 kB / 0.548 GB, free: 19 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2897, allocations: 0 / 0.548 GB, free: 19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.309, allocations: 2.067 MB / 0.55 GB, free: 18.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/8.968, allocations: 7.438 kB / 0.55 GB, free: 18.53 MB / 382.1 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical5_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical5.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.665684072009753] Failed to read output from testmodel.py, exit status != 0: 9.093791075982153 9.10598441 8.819552409 Calling exit ...