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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.4 MB / 222.1 MB, free: 5.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1024/0.1024, allocations: 8.101 MB / 278.5 MB, free: 13.33 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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.0005886/0.0005886, allocations: 23.44 kB / 338.3 MB, free: 26.96 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.111, allocations: 49.28 MB / 387.6 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.0005179/0.1116, allocations: 104.9 kB / 387.7 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.1118, allocations: 19.92 kB / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.536e-05/0.1118, allocations: 0 / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.1118, allocations: 0 / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.1118, allocations: 0 / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.112, allocations: 0 / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.092e-05/0.112, allocations: 0 / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.1121, allocations: 11.98 kB / 387.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.485e-05/0.1121, allocations: 0 / 387.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.1122, allocations: 0 / 387.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1122, allocations: 0 / 387.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.033e-06/0.1122, allocations: 0 / 387.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.1122, allocations: 3.984 kB / 387.7 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.1122, allocations: 25.7 kB / 387.8 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 2.849e-05/0.1123, allocations: 4 kB / 387.8 MB, free: 9.457 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1123, allocations: 3.938 kB / 387.8 MB, free: 9.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1123, allocations: 0 / 387.8 MB, free: 9.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1123, allocations: 0 / 387.8 MB, free: 9.453 MB / 286.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.0003576/0.1127, allocations: 311.4 kB / 388.1 MB, free: 9.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1127, allocations: 12.09 kB / 388.1 MB, free: 9.09 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.1128, allocations: 38.5 kB / 388.1 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.1128, allocations: 3.938 kB / 388.1 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.581e-05/0.1129, allocations: 159.1 kB / 388.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1129, allocations: 0 / 388.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.113, allocations: 3.953 kB / 388.3 MB, free: 8.84 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.1131, allocations: 33.7 kB / 388.3 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.1131, allocations: 0 / 388.3 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1131, allocations: 4 kB / 388.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.1131, allocations: 0 / 388.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.1131, allocations: 3.984 kB / 388.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.1134, allocations: 157.7 kB / 388.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.1134, allocations: 18.52 kB / 388.5 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-06/0.1135, allocations: 0 / 388.5 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1135, allocations: 38.61 kB / 388.5 MB, free: 8.516 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.1135, allocations: 4 kB / 388.5 MB, free: 8.512 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.1136, allocations: 37.69 kB / 388.6 MB, free: 8.469 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1137, allocations: 55.34 kB / 388.6 MB, free: 8.402 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.956e-05/0.1137, allocations: 89.86 kB / 388.7 MB, free: 8.305 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.1137, allocations: 25.7 kB / 388.7 MB, free: 8.273 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.1138, allocations: 80.14 kB / 388.8 MB, free: 8.191 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1138, allocations: 7.906 kB / 388.8 MB, free: 8.184 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.1138, allocations: 0 / 388.8 MB, free: 8.184 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1139, allocations: 315 kB / 389.1 MB, free: 7.867 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.114, allocations: 7.984 kB / 389.2 MB, free: 7.859 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.114, allocations: 4 kB / 389.2 MB, free: 7.855 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.528e-05/0.114, allocations: 0 / 389.2 MB, free: 7.855 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.114, allocations: 0 / 389.2 MB, free: 7.855 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.731e-05/0.1141, allocations: 37.7 kB / 389.2 MB, free: 7.812 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1141, allocations: 4 kB / 389.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1141, allocations: 0 / 389.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1141, allocations: 7.953 kB / 389.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.563e-05/0.1141, allocations: 8.031 kB / 389.2 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1142, allocations: 0 / 389.2 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.1142, allocations: 7.938 kB / 389.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1142, allocations: 3.984 kB / 389.2 MB, free: 7.781 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.008e-05/0.1143, allocations: 105.8 kB / 389.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-06/0.1143, allocations: 0 / 389.3 MB, free: 7.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.1143, allocations: 3.125 kB / 389.3 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.1143, allocations: 3.953 kB / 389.3 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1143, allocations: 4 kB / 389.3 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1143, allocations: 4 kB / 389.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.1145, allocations: 149.7 kB / 389.5 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1145, allocations: 0 / 389.5 MB, free: 7.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.1145, allocations: 3.938 kB / 389.5 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1145, allocations: 4 kB / 389.5 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1145, allocations: 4 kB / 389.5 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.1146, allocations: 0 / 389.5 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1146, allocations: 3.953 kB / 389.5 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.928e-05/0.1147, allocations: 61.12 kB / 389.6 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.1147, allocations: 77.11 kB / 389.6 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.1147, allocations: 3.938 kB / 389.6 MB, free: 7.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.31e-05/0.1148, allocations: 4 kB / 389.6 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.1148, allocations: 4.031 kB / 389.6 MB, free: 7.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1148, allocations: 3.953 kB / 389.7 MB, free: 7.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.937e-05/0.1148, allocations: 75.28 kB / 389.7 MB, free: 7.176 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1148, allocations: 0 / 389.7 MB, free: 7.176 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001981/0.115, allocations: 0 / 389.7 MB, free: 7.176 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003227/0.1154, allocations: 0.5989 MB / 390.3 MB, free: 6.551 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.417e-05/0.1154, allocations: 11.92 kB / 390.3 MB, free: 6.539 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1154, allocations: 0 / 390.3 MB, free: 6.539 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.304e-06/0.1155, allocations: 4.156 kB / 390.3 MB, free: 6.535 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.838e-05/0.1156, allocations: 4.062 kB / 390.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000444/0.116, allocations: 314.5 kB / 390.7 MB, free: 6.172 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1163, allocations: 0.677 MB / 391.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.877e-05/0.1163, allocations: 0 / 391.3 MB, free: 5.469 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.1164, allocations: 11.47 kB / 391.3 MB, free: 5.457 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1164, allocations: 4 kB / 391.3 MB, free: 5.453 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.1266, allocations: 0.7757 MB / 392.1 MB, free: 4.793 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/0.1268, allocations: 206.1 kB / 392.3 MB, free: 4.551 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/1.873, allocations: 4 kB / 392.3 MB, free: 4.547 MB / 286.1 MB (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/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment_fmu --startTime=0 --stopTime=8 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_BasicEquations_SimpleExample_FirstOrderExperiment.fmu > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) Environment - environmentSimulation: