Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical2.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.001134/0.001134, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8953/0.8953, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001053/0.001053, allocations: 156.6 kB / 256 MB, free: 13.34 MB / 250.7 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.02137/0.02137, allocations: 6.668 MB / 319 MB, free: 26.77 MB / 266.7 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.Electrical2,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical2,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.04e-05, allocations: 5.234 kB / 445.4 MB, free: 37.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical2): time 0.001032/0.001052, allocations: 0.5009 MB / 445.9 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001067/0.001159, allocations: 19.92 kB / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.98e-05/0.001179, allocations: 0 / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.344e-05/0.001192, allocations: 0 / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/0.001228, allocations: 11.92 kB / 445.9 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.484e-05/0.001323, allocations: 7.922 kB / 445.9 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.989e-05/0.001373, allocations: 19.88 kB / 445.9 MB, free: 37.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.001414, allocations: 0 / 445.9 MB, free: 37.1 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.357e-05/0.001447, allocations: 7.984 kB / 445.9 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.001492, allocations: 4 kB / 446 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.001509, allocations: 0 / 446 MB, free: 37.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-06/0.001516, allocations: 7.938 kB / 446 MB, free: 37.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.00153, allocations: 7.984 kB / 446 MB, free: 37.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.001548, allocations: 7.984 kB / 446 MB, free: 37.06 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.327e-05/0.001601, allocations: 7.938 kB / 446 MB, free: 37.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.001603, allocations: 0 / 446 MB, free: 37.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.001604, allocations: 4 kB / 446 MB, free: 37.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.001608, allocations: 0 / 446 MB, free: 37.05 MB / 330.7 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.0002324/0.00184, allocations: 250.3 kB / 446.2 MB, free: 36.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.00188, allocations: 8.031 kB / 446.2 MB, free: 36.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.916e-05/0.0019, allocations: 30.75 kB / 446.3 MB, free: 36.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.709e-05/0.001917, allocations: 8.891 kB / 446.3 MB, free: 36.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.875e-05/0.001965, allocations: 109.8 kB / 446.4 MB, free: 36.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.001975, allocations: 4.375 kB / 446.4 MB, free: 36.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.001991, allocations: 384 / 446.4 MB, free: 36.58 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.411e-05/0.002065, allocations: 34.27 kB / 446.4 MB, free: 36.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.002072, allocations: 4.125 kB / 446.4 MB, free: 36.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.002079, allocations: 384 / 446.4 MB, free: 36.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.002084, allocations: 4.125 kB / 446.4 MB, free: 36.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.019e-05/0.002114, allocations: 7.984 kB / 446.4 MB, free: 36.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.842e-05/0.002212, allocations: 125.2 kB / 446.6 MB, free: 36.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.781e-05/0.00227, allocations: 38.61 kB / 446.6 MB, free: 36.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.122e-05/0.002291, allocations: 12.86 kB / 446.6 MB, free: 36.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.002299, allocations: 0 / 446.6 MB, free: 36.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.002312, allocations: 42.58 kB / 446.7 MB, free: 36.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 5.51e-07/0.002312, allocations: 0 / 446.7 MB, free: 36.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001094/0.002422, allocations: 49.69 kB / 446.7 MB, free: 36.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.002441, allocations: 55.34 kB / 446.8 MB, free: 36.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.046e-05/0.002471, allocations: 94.19 kB / 446.8 MB, free: 36.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.002477, allocations: 25.7 kB / 446.9 MB, free: 36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.469e-05/0.002492, allocations: 84.14 kB / 447 MB, free: 35.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.002511, allocations: 11.91 kB / 447 MB, free: 35.9 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.002531, allocations: 25.7 kB / 447 MB, free: 35.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.662e-05/0.002558, allocations: 314.8 kB / 447.3 MB, free: 35.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.002568, allocations: 4 kB / 447.3 MB, free: 35.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.002576, allocations: 12.03 kB / 447.3 MB, free: 35.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.002602, allocations: 24.78 kB / 447.3 MB, free: 35.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.002603, allocations: 0 / 447.3 MB, free: 35.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.492e-05/0.002638, allocations: 45.64 kB / 447.4 MB, free: 35.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.002649, allocations: 7.984 kB / 447.4 MB, free: 35.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.002653, allocations: 4 kB / 447.4 MB, free: 35.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.002663, allocations: 0 / 447.4 MB, free: 35.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.002734, allocations: 7.938 kB / 447.4 MB, free: 35.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.002738, allocations: 11.94 kB / 447.4 MB, free: 35.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.017e-05/0.002748, allocations: 4 kB / 447.4 MB, free: 35.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.002751, allocations: 3.984 kB / 447.4 MB, free: 35.42 MB / 330.7 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.398e-05/0.002785, allocations: 117.8 kB / 447.5 MB, free: 35.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-06/0.00279, allocations: 3.953 kB / 447.5 MB, free: 35.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.307e-05/0.002803, allocations: 7.672 kB / 447.5 MB, free: 35.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.002804, allocations: 0 / 447.5 MB, free: 35.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.002808, allocations: 3.938 kB / 447.6 MB, free: 35.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.00281, allocations: 0 / 447.6 MB, free: 35.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.79e-05/0.002848, allocations: 132.7 kB / 447.7 MB, free: 35.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.002848, allocations: 4 kB / 447.7 MB, free: 35.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.002884, allocations: 11.98 kB / 447.7 MB, free: 35.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.002885, allocations: 0 / 447.7 MB, free: 35.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.002892, allocations: 0 / 447.7 MB, free: 35.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.002892, allocations: 0 / 447.7 MB, free: 35.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.002893, allocations: 3.938 kB / 447.7 MB, free: 35.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.207e-05/0.002965, allocations: 75.8 kB / 447.8 MB, free: 34.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-06/0.00297, allocations: 4.031 kB / 447.8 MB, free: 34.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-06/0.002978, allocations: 0 / 447.8 MB, free: 34.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-06/0.002986, allocations: 3.984 kB / 447.8 MB, free: 34.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.002996, allocations: 7.875 kB / 447.8 MB, free: 34.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.002997, allocations: 8.062 kB / 447.8 MB, free: 34.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.988e-06/0.003007, allocations: 75.28 kB / 447.9 MB, free: 34.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003007, allocations: 0 / 447.9 MB, free: 34.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001163/0.003124, allocations: 8 kB / 447.9 MB, free: 34.89 MB / 330.7 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.0001165/0.00324, allocations: 0.6089 MB / 448.5 MB, free: 34.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.585e-05/0.003296, allocations: 15.92 kB / 448.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.003297, allocations: 0 / 448.5 MB, free: 34.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.817e-06/0.003306, allocations: 15.98 kB / 448.5 MB, free: 34.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.685e-05/0.003403, allocations: 3.938 kB / 448.5 MB, free: 34.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.00389, allocations: 1.141 MB / 449.7 MB, free: 32.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.08e-05/0.00391, allocations: 63.28 kB / 449.7 MB, free: 32.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.125e-05/0.003922, allocations: 0 / 449.7 MB, free: 32.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.003946, allocations: 16.44 kB / 449.7 MB, free: 32.89 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.003946, allocations: 4 kB / 449.7 MB, free: 32.89 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01331/0.01726, allocations: 1.766 MB / 451.5 MB, free: 31.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.519/6.536, allocations: 8.984 kB / 451.5 MB, free: 31.23 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_FirstSteps_Electrical2_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_FirstSteps_Electrical2.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.411806205287576] Failed to read output from testmodel.py, exit status != 0: 6.614368315786123 6.620521854 6.617674321 Calling exit ...