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.001264/0.001264, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001346/0.001346, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.407/1.407, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.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.1247/0.1247, allocations: 8.212 MB / 290.6 MB, free: 8.109 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,fileNamePrefix="ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment",fmuType="cs",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.002083/0.002083, allocations: 79.88 kB / 405.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2517, allocations: 50.9 MB / 456.8 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001563/0.2532, allocations: 391.4 kB / 457.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001654/0.2534, allocations: 15.77 kB / 457.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.2534, allocations: 1.125 kB / 457.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.2534, allocations: 0 / 457.2 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.742e-06/0.2534, allocations: 4 kB / 457.2 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.2536, allocations: 9.109 kB / 457.2 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.66e-05/0.2537, allocations: 5.297 kB / 457.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.49e-05/0.2537, allocations: 5.25 kB / 457.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.321e-05/0.2537, allocations: 1.094 kB / 457.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.2538, allocations: 1.344 kB / 457.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2538, allocations: 0 / 457.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-06/0.2538, allocations: 3.938 kB / 457.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.2538, allocations: 1.281 kB / 457.2 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.2538, allocations: 4 kB / 457.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.039e-05/0.2539, allocations: 1.25 kB / 457.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.2539, allocations: 4 kB / 457.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.2539, allocations: 1.188 kB / 457.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2539, allocations: 0 / 457.3 MB, free: 3.438 MB / 318.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.0002816/0.2542, allocations: 311.5 kB / 457.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.2542, allocations: 9.281 kB / 457.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.61e-05/0.2543, allocations: 192 / 457.6 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.824e-05/0.2543, allocations: 30.75 kB / 457.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.2543, allocations: 2.219 kB / 457.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.015e-05/0.2544, allocations: 168.3 kB / 457.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2544, allocations: 1.688 kB / 457.8 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2544, allocations: 9.703 kB / 457.8 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.2545, allocations: 31.23 kB / 457.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2545, allocations: 0 / 457.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.2545, allocations: 0 / 457.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2545, allocations: 1.219 kB / 457.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.762e-05/0.2545, allocations: 1.031 kB / 457.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.2548, allocations: 150.6 kB / 458 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.373e-05/0.2548, allocations: 28.61 kB / 458 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.2548, allocations: 9.969 kB / 458 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.2548, allocations: 0 / 458 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.2548, allocations: 35.59 kB / 458 MB, free: 2.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.2549, allocations: 0 / 458 MB, free: 2.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.255, allocations: 31.08 kB / 458.1 MB, free: 2.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.255, allocations: 60.67 kB / 458.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.975e-05/0.255, allocations: 101.7 kB / 458.2 MB, free: 2.309 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.2551, allocations: 26.92 kB / 458.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.2551, allocations: 80.14 kB / 458.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.2551, allocations: 9.766 kB / 458.3 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.2551, allocations: 13.16 kB / 458.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.2552, allocations: 314.8 kB / 458.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.2552, allocations: 2.312 kB / 458.7 MB, free: 1.855 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-06/0.2552, allocations: 9.062 kB / 458.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/0.2552, allocations: 9.766 kB / 458.7 MB, free: 1.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2552, allocations: 3.938 kB / 458.7 MB, free: 1.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.542e-05/0.2553, allocations: 40.78 kB / 458.7 MB, free: 1.797 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2553, allocations: 10 kB / 458.7 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2553, allocations: 0 / 458.7 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2553, allocations: 0 / 458.7 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.192e-05/0.2553, allocations: 7.844 kB / 458.7 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.2553, allocations: 0 / 458.7 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.2554, allocations: 4.094 kB / 458.7 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.2554, allocations: 1.156 kB / 458.7 MB, free: 1.785 MB / 318.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 4.865e-05/0.2554, allocations: 107 kB / 458.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.2554, allocations: 8.922 kB / 458.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.2554, allocations: 7.125 kB / 458.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2554, allocations: 0 / 458.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2554, allocations: 1.25 kB / 458.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2554, allocations: 0 / 458.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.2555, allocations: 150.2 kB / 459 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2555, allocations: 5.281 kB / 459 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.2556, allocations: 1.062 kB / 459 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2556, allocations: 5.031 kB / 459 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2556, allocations: 0 / 459 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2556, allocations: 0 / 459 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2556, allocations: 1.062 kB / 459 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.352e-05/0.2557, allocations: 66.98 kB / 459.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.2557, allocations: 78.3 kB / 459.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.2557, allocations: 8.031 kB / 459.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.2557, allocations: 1.031 kB / 459.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-06/0.2557, allocations: 0 / 459.2 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.2557, allocations: 5 kB / 459.2 MB, free: 1.281 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.325e-05/0.2557, allocations: 75.28 kB / 459.3 MB, free: 1.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2557, allocations: 0 / 459.3 MB, free: 1.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.2559, allocations: 1.062 kB / 459.3 MB, free: 1.207 MB / 318.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.0002355/0.2562, allocations: 0.6008 MB / 459.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.338e-05/0.2563, allocations: 13.34 kB / 459.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2563, allocations: 0 / 459.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.937e-06/0.2563, allocations: 2.125 kB / 459.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.2564, allocations: 5.266 kB / 459.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000827/0.2572, allocations: 1.05 MB / 460.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.2575, allocations: 0.6786 MB / 461.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.918e-05/0.2576, allocations: 1.062 kB / 461.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.2576, allocations: 7.438 kB / 461.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2576, allocations: 0 / 461.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.2748, allocations: 1.012 MB / 462.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.192, allocations: 18.67 kB / 462.6 MB, free: 14.11 MB / 334.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment_fmu --startTime=0 --stopTime=8 --stepSize=0.0032 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment.fmu > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.72439150401624] Failed to read output from testmodel.py, exit status != 0: 8.310198621999007 8.32422366 8.067588699 Calling exit ...