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.0008893/0.0008893, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001016/0.001016, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.865/0.865, allocations: 158.6 MB / 184.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.02572/0.02572, allocations: 6.411 MB / 242.9 MB, free: 8.98 MB / 234.7 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: Performance of FrontEnd - loaded program: time 2.955e-06/2.955e-06, allocations: 0 / 359.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.272e-05, allocations: 2.281 kB / 359.8 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001401/0.001424, allocations: 401.2 kB / 360.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001794/0.001603, allocations: 11.98 kB / 360.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.001621, allocations: 0 / 360.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.001639, allocations: 0 / 360.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.404e-06/0.001647, allocations: 0 / 360.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.001806, allocations: 11.86 kB / 360.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.748e-05/0.001863, allocations: 8 kB / 360.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.001917, allocations: 0 / 360.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.836e-05/0.001956, allocations: 0 / 360.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.002014, allocations: 0 / 360.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.002038, allocations: 0 / 360.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.002046, allocations: 4 kB / 360.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.549e-05/0.002061, allocations: 0 / 360.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.002082, allocations: 3.984 kB / 360.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.991e-05/0.002142, allocations: 0 / 360.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.002145, allocations: 0 / 360.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.002147, allocations: 0 / 360.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.002152, allocations: 4 kB / 360.2 MB, free: 3.984 MB / 282.7 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.0002637/0.002415, allocations: 242.5 kB / 360.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.002466, allocations: 19.92 kB / 360.5 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.504e-05/0.002501, allocations: 30.75 kB / 360.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.002529, allocations: 0.9375 kB / 360.5 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.399e-05/0.002583, allocations: 101.8 kB / 360.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.002595, allocations: 384 / 360.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.002619, allocations: 4.375 kB / 360.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.002703, allocations: 34.25 kB / 360.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.002711, allocations: 192 / 360.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.002719, allocations: 384 / 360.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.002726, allocations: 16.06 kB / 360.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.002746, allocations: 0 / 360.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.003001, allocations: 116.8 kB / 360.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.078e-05/0.003051, allocations: 27.72 kB / 360.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.003067, allocations: 4.859 kB / 360.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.003078, allocations: 0 / 360.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.308e-05/0.003091, allocations: 38.56 kB / 360.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.003093, allocations: 0 / 360.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.003237, allocations: 33.64 kB / 360.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.003262, allocations: 59.47 kB / 360.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.42e-05/0.003276, allocations: 89.86 kB / 361 MB, free: 3.02 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.003282, allocations: 25.7 kB / 361 MB, free: 2.988 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-06/0.003292, allocations: 92.12 kB / 361.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.003315, allocations: 3.953 kB / 361.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.003345, allocations: 9.719 kB / 361.1 MB, free: 2.875 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.963e-05/0.003374, allocations: 314.8 kB / 361.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.003387, allocations: 0 / 361.4 MB, free: 2.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-06/0.003395, allocations: 8 kB / 361.5 MB, free: 2.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.003425, allocations: 12.8 kB / 361.5 MB, free: 2.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.003427, allocations: 4.062 kB / 361.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.251e-05/0.00348, allocations: 41.69 kB / 361.5 MB, free: 2.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.003493, allocations: 4 kB / 361.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.003498, allocations: 0 / 361.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.003513, allocations: 0 / 361.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.847e-05/0.003551, allocations: 4 kB / 361.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.003557, allocations: 3.938 kB / 361.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.003569, allocations: 0 / 361.5 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.003574, allocations: 3.938 kB / 361.5 MB, free: 2.469 MB / 282.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 (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 3.902e-05/0.003613, allocations: 109.8 kB / 361.6 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.00362, allocations: 4.031 kB / 361.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.434e-05/0.003634, allocations: 6.953 kB / 361.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.003637, allocations: 3.984 kB / 361.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.003642, allocations: 3.938 kB / 361.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.003645, allocations: 4 kB / 361.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.003759, allocations: 124.8 kB / 361.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.003761, allocations: 0 / 361.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.003782, allocations: 0 / 361.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.003785, allocations: 7.922 kB / 361.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.003793, allocations: 3.984 kB / 361.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.003796, allocations: 8 kB / 361.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.003797, allocations: 3.938 kB / 361.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.003897, allocations: 53.14 kB / 361.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.802e-06/0.003904, allocations: 4 kB / 361.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.003917, allocations: 3.984 kB / 361.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-06/0.003926, allocations: 4.031 kB / 361.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.003938, allocations: 3.938 kB / 361.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.003941, allocations: 0 / 361.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.02e-05/0.003951, allocations: 75.28 kB / 361.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.003951, allocations: 3.938 kB / 361.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.004165, allocations: 4.094 kB / 362 MB, free: 1.977 MB / 282.7 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.0001862/0.004351, allocations: 0.5929 MB / 362.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.696e-05/0.004428, allocations: 8 kB / 362.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.004431, allocations: 0 / 362.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.481e-06/0.004436, allocations: 0 / 362.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.004594, allocations: 11.55 kB / 362.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.005209, allocations: 1.067 MB / 363.6 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.583e-05/0.005235, allocations: 55.34 kB / 363.7 MB, free: 116 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.279e-05/0.005258, allocations: 7.938 kB / 363.7 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.005284, allocations: 8.5 kB / 363.7 MB, free: 96 kB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.005284, allocations: 0 / 363.7 MB, free: 96 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.02268, allocations: 1.593 MB / 365.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/6.871, allocations: 15.8 kB / 365.3 MB, free: 14.55 MB / 298.7 MB " [Timeout remaining time 653] (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: 8.581973574124277] Failed to read output from testmodel.py, exit status != 0: 6.955915620550513 6.969267196 6.965190351 Calling exit ...