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.0008171/0.000817, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009221/0.000922, allocations: 168.7 kB / 15.95 MB, free: 204 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.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.09997/0.09997, allocations: 8.111 MB / 278.5 MB, free: 13.07 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.0005337/0.0005337, allocations: 16 kB / 338.4 MB, free: 26.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 49.28 MB / 387.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.0006073/0.1152, allocations: 116.8 kB / 387.8 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002005/0.1154, allocations: 15.98 kB / 387.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.1155, allocations: 0 / 387.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.1155, allocations: 0 / 387.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.017e-06/0.1155, allocations: 4 kB / 387.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.1157, allocations: 3.938 kB / 387.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.657e-05/0.1158, allocations: 4 kB / 387.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.1158, allocations: 0 / 387.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.537e-05/0.1159, allocations: 7.984 kB / 387.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.1159, allocations: 0 / 387.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.116, allocations: 3.938 kB / 387.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.116, allocations: 0 / 387.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.116, allocations: 0 / 387.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.116, allocations: 25.7 kB / 387.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.546e-05/0.1161, allocations: 0 / 387.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1161, allocations: 0 / 387.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.1161, allocations: 4 kB / 387.8 MB, free: 9.391 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1161, allocations: 4 kB / 387.8 MB, free: 9.387 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.0003672/0.1165, allocations: 313.1 kB / 388.1 MB, free: 9.035 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.1166, allocations: 8.094 kB / 388.1 MB, free: 9.027 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.1166, allocations: 34.56 kB / 388.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1167, allocations: 0 / 388.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1168, allocations: 159.1 kB / 388.3 MB, free: 8.789 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.1168, allocations: 4 kB / 388.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.1168, allocations: 3.953 kB / 388.3 MB, free: 8.781 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.117, allocations: 41.62 kB / 388.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.117, allocations: 0 / 388.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.117, allocations: 0 / 388.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1171, allocations: 0 / 388.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.962e-05/0.1171, allocations: 0 / 388.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.1174, allocations: 153.7 kB / 388.5 MB, free: 8.535 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.1175, allocations: 18.56 kB / 388.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.434e-05/0.1176, allocations: 4.859 kB / 388.6 MB, free: 8.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.1176, allocations: 11.88 kB / 388.6 MB, free: 8.488 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.1176, allocations: 38.61 kB / 388.6 MB, free: 8.441 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1176, allocations: 0 / 388.6 MB, free: 8.441 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001684/0.1178, allocations: 33.7 kB / 388.6 MB, free: 8.402 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.1178, allocations: 51.41 kB / 388.7 MB, free: 8.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.703e-05/0.1179, allocations: 89.86 kB / 388.8 MB, free: 8.242 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1179, allocations: 25.7 kB / 388.8 MB, free: 8.211 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.118, allocations: 84.25 kB / 388.9 MB, free: 8.125 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.118, allocations: 11.91 kB / 388.9 MB, free: 8.113 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.118, allocations: 0 / 388.9 MB, free: 8.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1181, allocations: 314.8 kB / 389.2 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-06/0.1181, allocations: 0 / 389.2 MB, free: 7.797 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.1182, allocations: 7.938 kB / 389.2 MB, free: 7.789 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.976e-05/0.1182, allocations: 0 / 389.2 MB, free: 7.789 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1182, allocations: 0 / 389.2 MB, free: 7.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.605e-05/0.1183, allocations: 37.7 kB / 389.2 MB, free: 7.746 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1183, allocations: 18.73 kB / 389.3 MB, free: 7.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1183, allocations: 3.953 kB / 389.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1183, allocations: 0 / 389.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.012e-05/0.1184, allocations: 3.938 kB / 389.3 MB, free: 7.723 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1184, allocations: 4 kB / 389.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.338e-05/0.1184, allocations: 0 / 389.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1184, allocations: 0 / 389.3 MB, free: 7.719 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 0.0001191/0.1186, allocations: 105.8 kB / 389.4 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.1186, allocations: 0 / 389.4 MB, free: 7.605 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.1186, allocations: 7.125 kB / 389.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1186, allocations: 7.953 kB / 389.4 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1187, allocations: 0 / 389.4 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1187, allocations: 0 / 389.4 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.1188, allocations: 157.6 kB / 389.5 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1189, allocations: 0 / 389.5 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.012e-05/0.1189, allocations: 4 kB / 389.6 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1189, allocations: 0 / 389.6 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1189, allocations: 0 / 389.6 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1189, allocations: 0 / 389.6 MB, free: 7.379 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.1189, allocations: 7.938 kB / 389.6 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.1191, allocations: 65.08 kB / 389.6 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.1191, allocations: 77.11 kB / 389.7 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.1192, allocations: 0 / 389.7 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.498e-05/0.1192, allocations: 8.016 kB / 389.7 MB, free: 7.188 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.1192, allocations: 3.953 kB / 389.7 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1192, allocations: 7.984 kB / 389.7 MB, free: 7.176 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.416e-05/0.1193, allocations: 75.38 kB / 389.8 MB, free: 7.102 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1193, allocations: 4 kB / 389.8 MB, free: 7.098 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001806/0.1195, allocations: 0 / 389.8 MB, free: 7.098 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.0003615/0.1198, allocations: 0.5932 MB / 390.4 MB, free: 6.477 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.1199, allocations: 4.094 kB / 390.4 MB, free: 6.473 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1199, allocations: 4.062 kB / 390.4 MB, free: 6.469 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.1199, allocations: 11.94 kB / 390.4 MB, free: 6.457 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1201, allocations: 0 / 390.4 MB, free: 6.457 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.1206, allocations: 314.5 kB / 390.7 MB, free: 6.098 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.1209, allocations: 0.6732 MB / 391.4 MB, free: 5.398 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.11e-05/0.1209, allocations: 0 / 391.4 MB, free: 5.398 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.1209, allocations: 11.19 kB / 391.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1209, allocations: 0 / 391.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01147/0.1324, allocations: 0.7866 MB / 392.2 MB, free: 4.711 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.1326, allocations: 215.5 kB / 392.4 MB, free: 4.469 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/1.808, allocations: 0 / 392.4 MB, free: 4.469 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: