Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.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.001445/0.001445, allocations: 116.8 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.457/1.457, allocations: 230.6 MB / 250.5 MB, free: 9.391 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.00169/0.00169, allocations: 207.9 kB / 306.7 MB, free: 4.355 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.07785/0.07785, allocations: 8.908 MB / 371.7 MB, free: 3.492 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.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",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.0027/0.0027, allocations: 83.88 kB / 496.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.326, allocations: 55.56 MB / 0.539 GB, free: 26.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001431/0.3275, allocations: 0.4911 MB / 0.5395 GB, free: 26.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001302/0.3276, allocations: 15.25 kB / 0.5395 GB, free: 26.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.3276, allocations: 0 / 0.5395 GB, free: 26.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.3276, allocations: 0 / 0.5395 GB, free: 26.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.495e-05/0.3277, allocations: 4 kB / 0.5395 GB, free: 26.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001175/0.3278, allocations: 14.64 kB / 0.5396 GB, free: 26.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.973e-05/0.3278, allocations: 2.969 kB / 0.5396 GB, free: 26.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.3279, allocations: 10.28 kB / 0.5396 GB, free: 26.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.773e-05/0.3279, allocations: 10.98 kB / 0.5396 GB, free: 26.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.3279, allocations: 0 / 0.5396 GB, free: 26.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.328, allocations: 0 / 0.5396 GB, free: 26.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.485e-06/0.328, allocations: 3.094 kB / 0.5396 GB, free: 26.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.328, allocations: 3.938 kB / 0.5396 GB, free: 26.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.328, allocations: 3.609 kB / 0.5396 GB, free: 26.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.563e-05/0.3281, allocations: 21.67 kB / 0.5396 GB, free: 26.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3281, allocations: 0 / 0.5396 GB, free: 26.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.3281, allocations: 0 / 0.5396 GB, free: 26.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3281, allocations: 0 / 0.5396 GB, free: 26.28 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.0002864/0.3284, allocations: 319.9 kB / 0.5399 GB, free: 25.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3284, allocations: 9.406 kB / 0.5399 GB, free: 25.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.864e-05/0.3284, allocations: 2.078 kB / 0.5399 GB, free: 25.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.825e-05/0.3284, allocations: 38.03 kB / 0.54 GB, free: 25.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.057e-05/0.3284, allocations: 8.172 kB / 0.54 GB, free: 25.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.536e-05/0.3285, allocations: 168.3 kB / 0.5401 GB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3285, allocations: 3.594 kB / 0.5401 GB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3285, allocations: 384 / 0.5401 GB, free: 25.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.3286, allocations: 40.56 kB / 0.5402 GB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3286, allocations: 3.125 kB / 0.5402 GB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.3286, allocations: 0 / 0.5402 GB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.3286, allocations: 0 / 0.5402 GB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.3287, allocations: 3.094 kB / 0.5402 GB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.3288, allocations: 155.6 kB / 0.5403 GB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.043e-05/0.3289, allocations: 39.48 kB / 0.5404 GB, free: 25.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.556e-05/0.3289, allocations: 18.59 kB / 0.5404 GB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.3289, allocations: 0 / 0.5404 GB, free: 25.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.3289, allocations: 38.44 kB / 0.5404 GB, free: 25.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.3289, allocations: 0 / 0.5404 GB, free: 25.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001266/0.329, allocations: 53.12 kB / 0.5405 GB, free: 25.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.3291, allocations: 59.34 kB / 0.5405 GB, free: 25.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.643e-05/0.3291, allocations: 108.4 kB / 0.5406 GB, free: 25.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.3291, allocations: 25.7 kB / 0.5407 GB, free: 25.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.15e-05/0.3291, allocations: 80.14 kB / 0.5407 GB, free: 25.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.3292, allocations: 19.03 kB / 0.5407 GB, free: 25.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.3292, allocations: 12.94 kB / 0.5408 GB, free: 24.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.402e-05/0.3292, allocations: 318.4 kB / 0.5411 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.3292, allocations: 3.438 kB / 0.5411 GB, free: 24.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.3293, allocations: 7.156 kB / 0.5411 GB, free: 24.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.3293, allocations: 18.45 kB / 0.5411 GB, free: 24.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3293, allocations: 0 / 0.5411 GB, free: 24.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.384e-05/0.3293, allocations: 49.56 kB / 0.5411 GB, free: 24.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.3294, allocations: 10.25 kB / 0.5412 GB, free: 24.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3294, allocations: 3.938 kB / 0.5412 GB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3294, allocations: 3.469 kB / 0.5412 GB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.385e-05/0.3295, allocations: 6.375 kB / 0.5412 GB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.3295, allocations: 0 / 0.5412 GB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.3295, allocations: 3.281 kB / 0.5412 GB, free: 24.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.3295, allocations: 4 kB / 0.5412 GB, free: 24.61 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.229e-05/0.3295, allocations: 105.8 kB / 0.5413 GB, free: 24.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.3295, allocations: 11.08 kB / 0.5413 GB, free: 24.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.3296, allocations: 10.78 kB / 0.5413 GB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.3296, allocations: 0 / 0.5413 GB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3296, allocations: 0 / 0.5413 GB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3296, allocations: 3.219 kB / 0.5413 GB, free: 24.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.955e-05/0.3296, allocations: 152.5 kB / 0.5414 GB, free: 24.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3296, allocations: 0 / 0.5414 GB, free: 24.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.3297, allocations: 10.34 kB / 0.5415 GB, free: 24.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3297, allocations: 7.938 kB / 0.5415 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.3297, allocations: 3.188 kB / 0.5415 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.3297, allocations: 0 / 0.5415 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3297, allocations: 0 / 0.5415 GB, free: 24.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.586e-05/0.3298, allocations: 79.92 kB / 0.5415 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.3298, allocations: 81.05 kB / 0.5416 GB, free: 24.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.3298, allocations: 2.938 kB / 0.5416 GB, free: 24.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.631e-05/0.3298, allocations: 8 kB / 0.5416 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.3298, allocations: 3.422 kB / 0.5416 GB, free: 24.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.3298, allocations: 0 / 0.5416 GB, free: 24.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.7e-05/0.3299, allocations: 78.88 kB / 0.5417 GB, free: 24.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3299, allocations: 3.938 kB / 0.5417 GB, free: 24.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001803/0.33, allocations: 7.188 kB / 0.5417 GB, free: 24.01 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.0002318/0.3303, allocations: 0.6196 MB / 0.5423 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.257e-05/0.3304, allocations: 16.86 kB / 0.5423 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3304, allocations: 3.281 kB / 0.5423 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.127e-05/0.3304, allocations: 3.219 kB / 0.5423 GB, free: 23.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.3305, allocations: 8.812 kB / 0.5424 GB, free: 23.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.3311, allocations: 1.107 MB / 0.5434 GB, free: 22.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.29e-05/0.3312, allocations: 0.6753 MB / 0.5441 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.809e-05/0.3312, allocations: 3.156 kB / 0.5441 GB, free: 21.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.3312, allocations: 15.38 kB / 0.5441 GB, free: 21.57 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3312, allocations: 4 kB / 0.5441 GB, free: 21.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.3485, allocations: 1.126 MB / 0.5452 GB, free: 21.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.31/8.659, allocations: 4.922 kB / 0.5452 GB, free: 21.18 MB / 382.1 MB " [Timeout remaining time 651] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical1.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.422069424996153] Failed to read output from testmodel.py, exit status != 0: 8.784930296009406 8.805596972 8.47375191 Calling exit ...