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.001224/0.001224, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001426/0.001426, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.332/1.332, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.1158/0.1158, allocations: 8.202 MB / 294.3 MB, free: 13.66 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.002417/0.002417, allocations: 68.19 kB / 411.2 MB, free: 47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.08664, allocations: 50.94 MB / 462.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001725/0.08836, allocations: 381.2 kB / 462.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.08853, allocations: 23.97 kB / 462.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.08854, allocations: 0 / 462.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.228e-05/0.08856, allocations: 0 / 462.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.611e-06/0.08856, allocations: 0 / 462.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.08869, allocations: 4 kB / 462.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.639e-05/0.08875, allocations: 3.984 kB / 462.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.08879, allocations: 7.938 kB / 462.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.08881, allocations: 0 / 462.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.08885, allocations: 0 / 462.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.08887, allocations: 0 / 462.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-06/0.08887, allocations: 0 / 462.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.08889, allocations: 8 kB / 462.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.08891, allocations: 3.938 kB / 462.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.2e-05/0.08896, allocations: 7.984 kB / 462.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.08897, allocations: 0 / 462.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.08897, allocations: 0 / 462.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.08897, allocations: 0 / 462.6 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.00031/0.08928, allocations: 230.5 kB / 462.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.08932, allocations: 11.98 kB / 462.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.489e-05/0.08934, allocations: 192 / 462.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.08937, allocations: 42.69 kB / 462.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.08939, allocations: 4.938 kB / 462.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.08955, allocations: 106.5 kB / 463 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.08956, allocations: 384 / 463 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.08959, allocations: 4.359 kB / 463 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.825e-05/0.08967, allocations: 34.02 kB / 463 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.08968, allocations: 0 / 463 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.08969, allocations: 3.938 kB / 463 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.0897, allocations: 0 / 463 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.08972, allocations: 0 / 463 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.09, allocations: 133 kB / 463.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.812e-05/0.09005, allocations: 14.58 kB / 463.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.09007, allocations: 8.953 kB / 463.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.09008, allocations: 0 / 463.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.09011, allocations: 38.5 kB / 463.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.09011, allocations: 0 / 463.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.09025, allocations: 45.62 kB / 463.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.0903, allocations: 51.41 kB / 463.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.52e-05/0.09035, allocations: 93.86 kB / 463.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.09037, allocations: 25.7 kB / 463.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.09042, allocations: 80.14 kB / 463.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.09045, allocations: 11.88 kB / 463.5 MB, free: 12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.09048, allocations: 21.66 kB / 463.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.09064, allocations: 310.8 kB / 463.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.09066, allocations: 4.125 kB / 463.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-06/0.09067, allocations: 4 kB / 463.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.0907, allocations: 20.78 kB / 463.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.0907, allocations: 0 / 463.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.999e-05/0.09076, allocations: 33.7 kB / 463.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.09078, allocations: 7.938 kB / 463.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.09079, allocations: 0 / 463.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.09081, allocations: 0 / 463.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.858e-05/0.09083, allocations: 4.094 kB / 463.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.09084, allocations: 4 kB / 463.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.142e-05/0.09085, allocations: 0 / 463.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.09086, allocations: 0 / 463.9 MB, free: 11.57 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 9.879e-05/0.09096, allocations: 117.8 kB / 464 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.09097, allocations: 3.938 kB / 464 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.09098, allocations: 6.953 kB / 464 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.09099, allocations: 0 / 464 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.09099, allocations: 0 / 464 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.09099, allocations: 0 / 464 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.09115, allocations: 128.7 kB / 464.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.09115, allocations: 4 kB / 464.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-05/0.09117, allocations: 3.938 kB / 464.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.09118, allocations: 3.938 kB / 464.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.09119, allocations: 0 / 464.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.09119, allocations: 0 / 464.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.09119, allocations: 0 / 464.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.09131, allocations: 69.16 kB / 464.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-06/0.09131, allocations: 0 / 464.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.09133, allocations: 3.938 kB / 464.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.053e-05/0.09134, allocations: 0 / 464.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.09135, allocations: 0 / 464.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.09136, allocations: 0 / 464.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.341e-05/0.0914, allocations: 79.28 kB / 464.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0914, allocations: 4 kB / 464.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001806/0.09158, allocations: 0 / 464.3 MB, free: 11.08 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.0004009/0.09198, allocations: 0.6046 MB / 464.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 6.816e-05/0.09205, allocations: 4 kB / 464.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.09205, allocations: 0 / 464.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-06/0.09206, allocations: 3.984 kB / 464.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.09219, allocations: 4.219 kB / 464.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000967/0.09316, allocations: 1.048 MB / 466 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.09349, allocations: 0.6768 MB / 466.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.09351, allocations: 0 / 466.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.09354, allocations: 11.38 kB / 466.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09354, allocations: 0 / 466.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.1135, allocations: 1.104 MB / 467.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.73, allocations: 3.953 kB / 467.8 MB, free: 7.539 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.31414664699696] Failed to read output from testmodel.py, exit status != 0: 10.883044968009926 10.901002476 10.808594337 Calling exit ...