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.001148/0.001148, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.9078/0.9078, allocations: 177.1 MB / 199.4 MB, free: 5.957 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.00122/0.00122, allocations: 156.5 kB / 256 MB, free: 13.36 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.03362/0.03362, allocations: 6.66 MB / 319 MB, free: 26.8 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.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.FirstSteps.Electrical1,fileNamePrefix="HanserModelica_HanserModelica_FirstSteps_Electrical1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 445.4 MB, free: 37.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.564e-05, allocations: 6.281 kB / 445.4 MB, free: 37.67 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical1): time 0.001597/0.001622, allocations: 496 kB / 445.9 MB, free: 37.19 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000143/0.001765, allocations: 23.91 kB / 445.9 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.001791, allocations: 3.938 kB / 445.9 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.001809, allocations: 0 / 445.9 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.759e-05/0.001836, allocations: 0 / 445.9 MB, free: 37.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.00196, allocations: 7.922 kB / 445.9 MB, free: 37.15 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.364e-05/0.002013, allocations: 11.98 kB / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.914e-05/0.002063, allocations: 0 / 445.9 MB, free: 37.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.0021, allocations: 8 kB / 445.9 MB, free: 37.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.002152, allocations: 7.922 kB / 445.9 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.002175, allocations: 0 / 445.9 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.002184, allocations: 4 kB / 445.9 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.002199, allocations: 4 kB / 445.9 MB, free: 37.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.002218, allocations: 3.938 kB / 445.9 MB, free: 37.11 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 6.24e-05/0.00228, allocations: 7.984 kB / 445.9 MB, free: 37.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.002283, allocations: 0 / 445.9 MB, free: 37.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.002285, allocations: 3.984 kB / 446 MB, free: 37.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.00229, allocations: 0 / 446 MB, free: 37.1 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.0003282/0.002618, allocations: 242.4 kB / 446.2 MB, free: 36.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.002657, allocations: 8.031 kB / 446.2 MB, free: 36.82 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.242e-05/0.002679, allocations: 38.73 kB / 446.2 MB, free: 36.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.929e-05/0.002699, allocations: 12.83 kB / 446.2 MB, free: 36.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.215e-05/0.002751, allocations: 105.8 kB / 446.3 MB, free: 36.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.002761, allocations: 4.375 kB / 446.4 MB, free: 36.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.00278, allocations: 384 / 446.4 MB, free: 36.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.454e-05/0.002854, allocations: 42.19 kB / 446.4 MB, free: 36.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.00286, allocations: 192 / 446.4 MB, free: 36.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.002867, allocations: 384 / 446.4 MB, free: 36.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.002872, allocations: 8.109 kB / 446.4 MB, free: 36.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.049e-05/0.002903, allocations: 8 kB / 446.4 MB, free: 36.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.688e-05/0.003, allocations: 129.1 kB / 446.5 MB, free: 36.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.003054, allocations: 30.58 kB / 446.6 MB, free: 36.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.003075, allocations: 20.94 kB / 446.6 MB, free: 36.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-06/0.003082, allocations: 0 / 446.6 MB, free: 36.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.003095, allocations: 38.5 kB / 446.6 MB, free: 36.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 6.51e-07/0.003096, allocations: 0 / 446.6 MB, free: 36.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001109/0.003207, allocations: 45.69 kB / 446.7 MB, free: 36.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.738e-05/0.003224, allocations: 55.34 kB / 446.7 MB, free: 36.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.274e-05/0.003257, allocations: 97.86 kB / 446.8 MB, free: 36.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-06/0.003261, allocations: 25.7 kB / 446.8 MB, free: 36.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.368e-05/0.003274, allocations: 80.14 kB / 446.9 MB, free: 35.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.003295, allocations: 15.89 kB / 446.9 MB, free: 35.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.003317, allocations: 21.72 kB / 447 MB, free: 35.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.003354, allocations: 314.8 kB / 447.3 MB, free: 35.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.003366, allocations: 8 kB / 447.3 MB, free: 35.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.003375, allocations: 7.984 kB / 447.3 MB, free: 35.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.003403, allocations: 20.8 kB / 447.3 MB, free: 35.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.003404, allocations: 0 / 447.3 MB, free: 35.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 3.831e-05/0.003443, allocations: 45.69 kB / 447.3 MB, free: 35.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.003454, allocations: 4 kB / 447.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.003458, allocations: 4 kB / 447.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.003469, allocations: 0 / 447.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.259e-05/0.003542, allocations: 11.94 kB / 447.4 MB, free: 35.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.003546, allocations: 4 kB / 447.4 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.038e-05/0.003556, allocations: 4 kB / 447.4 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.00356, allocations: 7.922 kB / 447.4 MB, free: 35.47 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.34e-05/0.003594, allocations: 113.8 kB / 447.5 MB, free: 35.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-06/0.003598, allocations: 11.88 kB / 447.5 MB, free: 35.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.003613, allocations: 11.69 kB / 447.5 MB, free: 35.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.003616, allocations: 0.5156 kB / 447.5 MB, free: 35.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.00362, allocations: 3.938 kB / 447.5 MB, free: 35.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.003622, allocations: 4 kB / 447.5 MB, free: 35.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.761e-05/0.00366, allocations: 116.8 kB / 447.6 MB, free: 35.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.003661, allocations: 7.984 kB / 447.6 MB, free: 35.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.003698, allocations: 12 kB / 447.7 MB, free: 35.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.003699, allocations: 0 / 447.7 MB, free: 35.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.003707, allocations: 3.984 kB / 447.7 MB, free: 35.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.003708, allocations: 0 / 447.7 MB, free: 35.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.003709, allocations: 3.938 kB / 447.7 MB, free: 35.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.029e-05/0.0038, allocations: 71.8 kB / 447.7 MB, free: 35.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.003807, allocations: 8.016 kB / 447.7 MB, free: 35.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-06/0.003816, allocations: 0 / 447.7 MB, free: 35.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-06/0.003823, allocations: 7.938 kB / 447.8 MB, free: 35.03 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.003834, allocations: 8 kB / 447.8 MB, free: 35.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.003836, allocations: 4 kB / 447.8 MB, free: 35.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.464e-05/0.00385, allocations: 75.28 kB / 447.8 MB, free: 34.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00385, allocations: 0 / 447.8 MB, free: 34.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000115/0.003965, allocations: 4 kB / 447.8 MB, free: 34.94 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.0001521/0.004117, allocations: 0.6086 MB / 448.4 MB, free: 34.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.539e-05/0.004193, allocations: 19.92 kB / 448.5 MB, free: 34.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.004195, allocations: 0 / 448.5 MB, free: 34.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-06/0.004203, allocations: 4 kB / 448.5 MB, free: 34.28 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.004325, allocations: 16 kB / 448.5 MB, free: 34.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.004782, allocations: 1.106 MB / 449.6 MB, free: 33.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.458e-05/0.004807, allocations: 59.34 kB / 449.7 MB, free: 33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.84e-05/0.004825, allocations: 4 kB / 449.7 MB, free: 32.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.004853, allocations: 12.5 kB / 449.7 MB, free: 32.98 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.004854, allocations: 0 / 449.7 MB, free: 32.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.0231, allocations: 1.734 MB / 451.4 MB, free: 31.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.842/6.865, allocations: 9.625 kB / 451.4 MB, free: 31.36 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.FirstSteps.Electrical1_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_Electrical1.fmu > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.854502860456705] Failed to read output from testmodel.py, exit status != 0: 6.943933836184442 6.952482551 6.948447125 Calling exit ...