Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.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.00129/0.00129, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] 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.001506/0.001506, allocations: 215.8 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 207.6 MB / 233 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1383/0.1383, allocations: 8.208 MB / 293.5 MB, free: 13.64 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,fileNamePrefix="ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,fileNamePrefix="ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 80.7 kB / 410.4 MB, free: 46.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07631/0.07858, allocations: 50.94 MB / 461.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001414/0.08, allocations: 389.2 kB / 461.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.08013, allocations: 19.91 kB / 461.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.08015, allocations: 0 / 461.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.111e-05/0.08016, allocations: 0 / 461.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.98e-06/0.08017, allocations: 0 / 461.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.08029, allocations: 4 kB / 461.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.41e-05/0.08034, allocations: 4 kB / 461.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.345e-05/0.0804, allocations: 7.984 kB / 461.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.164e-05/0.08041, allocations: 0 / 461.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.783e-05/0.08046, allocations: 3.984 kB / 461.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.08047, allocations: 0 / 461.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-06/0.08047, allocations: 0 / 461.8 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.08049, allocations: 4 kB / 461.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.08051, allocations: 3.938 kB / 461.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 4.627e-05/0.08056, allocations: 0 / 461.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.08056, allocations: 4 kB / 461.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08057, allocations: 0 / 461.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.08057, allocations: 0 / 461.8 MB, free: 13.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003075/0.08088, allocations: 234.5 kB / 462 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.08092, allocations: 15.98 kB / 462 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.08097, allocations: 34.75 kB / 462.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.928e-05/0.08099, allocations: 0.9375 kB / 462.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.784e-05/0.08108, allocations: 110.5 kB / 462.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.08109, allocations: 384 / 462.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.08111, allocations: 4.375 kB / 462.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.394e-05/0.08119, allocations: 30.27 kB / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.08121, allocations: 3.938 kB / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.08121, allocations: 0 / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.08122, allocations: 3.938 kB / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.08123, allocations: 4 kB / 462.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.08149, allocations: 125 kB / 462.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.162e-05/0.08153, allocations: 18.52 kB / 462.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.08155, allocations: 12.95 kB / 462.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.08156, allocations: 0 / 462.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.08159, allocations: 34.56 kB / 462.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.08159, allocations: 0 / 462.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001366/0.08173, allocations: 41.62 kB / 462.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.08178, allocations: 55.41 kB / 462.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.721e-05/0.08182, allocations: 89.86 kB / 462.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.08184, allocations: 29.64 kB / 462.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.922e-05/0.08188, allocations: 84.27 kB / 462.7 MB, free: 12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.08191, allocations: 7.891 kB / 462.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.08194, allocations: 17.72 kB / 462.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.08209, allocations: 318.8 kB / 463 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.0821, allocations: 0 / 463 MB, free: 11.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.08211, allocations: 4 kB / 463 MB, free: 11.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.08215, allocations: 12.86 kB / 463 MB, free: 11.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.08216, allocations: 4.062 kB / 463 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.041e-05/0.08222, allocations: 33.7 kB / 463.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.08223, allocations: 4 kB / 463.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.08224, allocations: 3.938 kB / 463.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.08225, allocations: 0 / 463.1 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.219e-05/0.08228, allocations: 11.92 kB / 463.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.08229, allocations: 3.984 kB / 463.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.0823, allocations: 0 / 463.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.08231, allocations: 4 kB / 463.1 MB, free: 11.56 MB / 334.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 (2): * Single equations (assignments): 2 * 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 8.371e-05/0.08239, allocations: 113.9 kB / 463.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-06/0.0824, allocations: 0 / 463.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.08242, allocations: 10.89 kB / 463.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.08242, allocations: 0 / 463.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.08242, allocations: 0 / 463.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.08243, allocations: 0 / 463.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.08258, allocations: 124.8 kB / 463.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.08258, allocations: 0 / 463.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.0826, allocations: 0 / 463.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.0826, allocations: 0 / 463.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.08261, allocations: 7.938 kB / 463.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.08262, allocations: 4 kB / 463.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.08262, allocations: 0 / 463.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.08274, allocations: 65.06 kB / 463.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-06/0.08274, allocations: 3.938 kB / 463.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.08275, allocations: 3.938 kB / 463.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.142e-05/0.08277, allocations: 0 / 463.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.08278, allocations: 8.094 kB / 463.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.08279, allocations: 8.016 kB / 463.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.167e-05/0.08283, allocations: 75.28 kB / 463.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08283, allocations: 0 / 463.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001748/0.08301, allocations: 0 / 463.5 MB, free: 11.07 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (1): * Single equations (assignments): 1 * 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.0004576/0.08346, allocations: 0.5969 MB / 464.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.921e-05/0.08354, allocations: 11.88 kB / 464.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.08354, allocations: 0 / 464.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.105e-06/0.08355, allocations: 4 kB / 464.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.0837, allocations: 0 / 464.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009705/0.08467, allocations: 1.048 MB / 465.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.08498, allocations: 0.6729 MB / 465.9 MB, free: 8.598 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.707e-05/0.085, allocations: 4.062 kB / 465.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.08502, allocations: 7.438 kB / 465.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.08502, allocations: 0 / 465.9 MB, free: 8.586 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.1122, allocations: 1.07 MB / 466.9 MB, free: 7.57 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.13, allocations: 3.938 kB / 466.9 MB, free: 7.566 MB / 334.1 MB " [Timeout remaining time 649] (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment_res.csv --start-time 0 --stop-time 8 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0032 ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment.fmu > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.896653137002431] Failed to read output from testmodel.py, exit status != 0: 11.226822887001617 11.24318509 11.159602322 Calling exit ...