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.001848/0.001848, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002011/0.002011, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.358/1.358, allocations: 207.7 MB / 233.9 MB, free: 9.785 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.108/0.108, allocations: 8.2 MB / 294.3 MB, free: 13.46 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.002091/0.002091, allocations: 74 kB / 411.2 MB, free: 46.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07895/0.08104, allocations: 50.93 MB / 462.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001514/0.08256, allocations: 390.4 kB / 462.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001482/0.08271, allocations: 15.98 kB / 462.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.08272, allocations: 7.938 kB / 462.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.572e-05/0.08274, allocations: 3.938 kB / 462.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.051e-06/0.08274, allocations: 4 kB / 462.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.08289, allocations: 0 / 462.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.08294, allocations: 3.984 kB / 462.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.08299, allocations: 4 kB / 462.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.708e-05/0.08301, allocations: 0 / 462.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.08307, allocations: 3.938 kB / 462.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.08308, allocations: 0 / 462.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.08309, allocations: 0 / 462.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.08311, allocations: 3.984 kB / 462.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.097e-05/0.08313, allocations: 4 kB / 462.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.515e-05/0.08318, allocations: 4 kB / 462.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.08319, allocations: 0 / 462.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.08319, allocations: 0 / 462.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.0832, allocations: 0 / 462.6 MB, free: 12.89 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.0003315/0.08353, allocations: 238.5 kB / 462.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.08358, allocations: 15.98 kB / 462.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.447e-05/0.08359, allocations: 192 / 462.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.08362, allocations: 30.75 kB / 462.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.04e-05/0.08364, allocations: 0.9375 kB / 462.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.286e-05/0.08372, allocations: 102.5 kB / 462.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.08374, allocations: 4.375 kB / 462.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.08376, allocations: 8.312 kB / 462.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.08386, allocations: 38 kB / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.08387, allocations: 0 / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.08388, allocations: 0 / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.08389, allocations: 8 kB / 463 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.649e-05/0.0839, allocations: 0 / 463 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.08416, allocations: 117 kB / 463.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.968e-05/0.08422, allocations: 22.61 kB / 463.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.08425, allocations: 12.78 kB / 463.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-06/0.08426, allocations: 0 / 463.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.08428, allocations: 42.56 kB / 463.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.08428, allocations: 3.938 kB / 463.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001277/0.08441, allocations: 29.7 kB / 463.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.08445, allocations: 51.41 kB / 463.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.0845, allocations: 93.86 kB / 463.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.08452, allocations: 25.7 kB / 463.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.08456, allocations: 84.14 kB / 463.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.08458, allocations: 7.891 kB / 463.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.08461, allocations: 17.64 kB / 463.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.0848, allocations: 314.8 kB / 463.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.08482, allocations: 12.06 kB / 463.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.08483, allocations: 4 kB / 463.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.74e-05/0.08485, allocations: 8.859 kB / 463.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.08485, allocations: 0 / 463.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.895e-05/0.08491, allocations: 45.67 kB / 463.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.08493, allocations: 7.938 kB / 463.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.08493, allocations: 0 / 463.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.08494, allocations: 0 / 463.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.715e-05/0.08497, allocations: 4 kB / 463.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.08497, allocations: 96 / 463.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.035e-05/0.08498, allocations: 4 kB / 463.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.08499, allocations: 3.938 kB / 463.9 MB, free: 11.36 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 7.713e-05/0.08507, allocations: 109.8 kB / 464 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.08507, allocations: 3.938 kB / 464 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.853e-05/0.08509, allocations: 10.95 kB / 464 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.08509, allocations: 0 / 464 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.0851, allocations: 0 / 464 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.0851, allocations: 0 / 464 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.08523, allocations: 124.8 kB / 464.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.08524, allocations: 0 / 464.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-05/0.08526, allocations: 4 kB / 464.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.08526, allocations: 3.938 kB / 464.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.08527, allocations: 0 / 464.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.08527, allocations: 4 kB / 464.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.08527, allocations: 0 / 464.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.08538, allocations: 61.12 kB / 464.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-06/0.08538, allocations: 0 / 464.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.08539, allocations: 7.875 kB / 464.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.247e-05/0.08541, allocations: 7.969 kB / 464.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.08542, allocations: 7.984 kB / 464.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.08542, allocations: 4.094 kB / 464.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.275e-05/0.08546, allocations: 75.28 kB / 464.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08546, allocations: 0 / 464.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001646/0.08562, allocations: 0 / 464.3 MB, free: 10.88 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.0003822/0.086, allocations: 0.5929 MB / 464.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.233e-05/0.08608, allocations: 15.94 kB / 464.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.08608, allocations: 0 / 464.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.08608, allocations: 160 / 464.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.08621, allocations: 12 kB / 464.9 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.08709, allocations: 1.048 MB / 466 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.158e-05/0.08714, allocations: 55.36 kB / 466 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.755e-05/0.08716, allocations: 0 / 466 MB, free: 9.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.08718, allocations: 7.438 kB / 466 MB, free: 9.012 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.08718, allocations: 0 / 466 MB, free: 9.012 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.1071, allocations: 1.12 MB / 467.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/10.93, allocations: 11.45 kB / 467.2 MB, free: 7.941 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 & /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: 13.579196021077223] Failed to read output from testmodel.py, exit status != 0: 11.08769993588794 11.104651615 11.018212399 Calling exit ...