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.001358/0.001358, allocations: 108.6 kB / 16.45 MB, free: 6.453 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.572/1.572, allocations: 230.6 MB / 249.8 MB, free: 9.219 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.001586/0.001586, allocations: 221.5 kB / 306 MB, free: 4.285 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.04185/0.04185, allocations: 8.913 MB / 371 MB, free: 3.426 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.002527/0.002527, allocations: 87.81 kB / 495.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.318, allocations: 55.56 MB / 0.5384 GB, free: 26.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical3): time 0.002001/0.32, allocations: 1.239 MB / 0.5396 GB, free: 25.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001478/0.3201, allocations: 29.34 kB / 0.5396 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.3202, allocations: 0 / 0.5396 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.3202, allocations: 3.938 kB / 0.5396 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.3202, allocations: 11.34 kB / 0.5396 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.3203, allocations: 3 kB / 0.5396 GB, free: 25.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.3204, allocations: 17.67 kB / 0.5396 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.94e-05/0.3205, allocations: 3.25 kB / 0.5396 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.3205, allocations: 3.031 kB / 0.5396 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.3205, allocations: 6.844 kB / 0.5397 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3206, allocations: 0 / 0.5397 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.3206, allocations: 4 kB / 0.5397 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.3206, allocations: 3.328 kB / 0.5397 GB, free: 25.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.3206, allocations: 14.95 kB / 0.5397 GB, free: 25.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.497e-05/0.3207, allocations: 7.828 kB / 0.5397 GB, free: 25.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3207, allocations: 0 / 0.5397 GB, free: 25.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3207, allocations: 3.469 kB / 0.5397 GB, free: 25.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.3207, allocations: 0 / 0.5397 GB, free: 25.71 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.0003262/0.321, allocations: 324.5 kB / 0.54 GB, free: 25.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.321, allocations: 13.22 kB / 0.54 GB, free: 25.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.59e-05/0.3211, allocations: 38.69 kB / 0.54 GB, free: 25.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.3211, allocations: 4.891 kB / 0.54 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.852e-05/0.3212, allocations: 167.4 kB / 0.5402 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3212, allocations: 384 / 0.5402 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3212, allocations: 3.406 kB / 0.5402 GB, free: 25.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.049e-05/0.3213, allocations: 36.92 kB / 0.5402 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3213, allocations: 3.938 kB / 0.5402 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3213, allocations: 3.938 kB / 0.5403 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3213, allocations: 0 / 0.5403 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.561e-05/0.3214, allocations: 9.734 kB / 0.5403 GB, free: 25.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.3215, allocations: 156.1 kB / 0.5404 GB, free: 24.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.3216, allocations: 38.52 kB / 0.5404 GB, free: 24.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.3216, allocations: 14.38 kB / 0.5405 GB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3216, allocations: 0 / 0.5405 GB, free: 24.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.3216, allocations: 30.56 kB / 0.5405 GB, free: 24.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3216, allocations: 0 / 0.5405 GB, free: 24.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001505/0.3218, allocations: 68.61 kB / 0.5406 GB, free: 24.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.3218, allocations: 51.41 kB / 0.5406 GB, free: 24.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.3219, allocations: 96.38 kB / 0.5407 GB, free: 24.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-06/0.3219, allocations: 25.7 kB / 0.5407 GB, free: 24.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.3219, allocations: 84.14 kB / 0.5408 GB, free: 24.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.3219, allocations: 10.97 kB / 0.5408 GB, free: 24.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.322, allocations: 16.91 kB / 0.5408 GB, free: 24.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.322, allocations: 314.1 kB / 0.5411 GB, free: 24.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.322, allocations: 7.375 kB / 0.5411 GB, free: 24.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.322, allocations: 7.188 kB / 0.5411 GB, free: 24.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.3221, allocations: 21.16 kB / 0.5412 GB, free: 24.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3221, allocations: 0 / 0.5412 GB, free: 24.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.153e-05/0.3221, allocations: 46.48 kB / 0.5412 GB, free: 24.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3222, allocations: 13.58 kB / 0.5412 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3222, allocations: 0 / 0.5412 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3222, allocations: 0 / 0.5412 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3223, allocations: 6.5 kB / 0.5412 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.3223, allocations: 3.188 kB / 0.5412 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.3223, allocations: 4 kB / 0.5412 GB, free: 24.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.3223, allocations: 0 / 0.5412 GB, free: 24.05 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 5.085e-05/0.3224, allocations: 116 kB / 0.5413 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.3224, allocations: 7.891 kB / 0.5413 GB, free: 23.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.3224, allocations: 3.5 kB / 0.5414 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3224, allocations: 0 / 0.5414 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3224, allocations: 3.125 kB / 0.5414 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3224, allocations: 3.938 kB / 0.5414 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.696e-05/0.3225, allocations: 152.1 kB / 0.5415 GB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3225, allocations: 7.938 kB / 0.5415 GB, free: 23.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.3225, allocations: 16.75 kB / 0.5415 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.3225, allocations: 3.938 kB / 0.5415 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3226, allocations: 0 / 0.5415 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3226, allocations: 0 / 0.5415 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3226, allocations: 3.938 kB / 0.5415 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.3227, allocations: 75.69 kB / 0.5416 GB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.3227, allocations: 80.14 kB / 0.5417 GB, free: 23.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.3227, allocations: 8 kB / 0.5417 GB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.3227, allocations: 0 / 0.5417 GB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.3227, allocations: 0.5625 kB / 0.5417 GB, free: 23.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3227, allocations: 3.219 kB / 0.5417 GB, free: 23.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.997e-05/0.3227, allocations: 86.69 kB / 0.5418 GB, free: 23.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3227, allocations: 3.156 kB / 0.5418 GB, free: 23.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001774/0.3229, allocations: 3.25 kB / 0.5418 GB, free: 23.44 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.0002253/0.3232, allocations: 0.6117 MB / 0.5424 GB, free: 22.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.842e-05/0.3232, allocations: 16.81 kB / 0.5424 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3232, allocations: 0 / 0.5424 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.37e-05/0.3233, allocations: 10.41 kB / 0.5424 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.3234, allocations: 5.516 kB / 0.5424 GB, free: 22.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007647/0.3242, allocations: 1.187 MB / 0.5436 GB, free: 21.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.818e-05/0.3243, allocations: 0.6755 MB / 0.5442 GB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.298e-05/0.3243, allocations: 0 / 0.5442 GB, free: 20.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.3243, allocations: 10.59 kB / 0.5442 GB, free: 20.95 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3243, allocations: 0 / 0.5442 GB, free: 20.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/0.3485, allocations: 1.126 MB / 0.5453 GB, free: 20.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.151, allocations: 1.797 kB / 0.5453 GB, free: 20.58 MB / 382.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_FirstSteps_Electrical3.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.994452752987854] Failed to read output from testmodel.py, exit status != 0: 8.220045840003877 8.234291513 7.911119794 Calling exit ...