Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7889/0.7889, allocations: 133.5 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.5 MB / 395.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.0009439, allocations: 102.3 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.145e-05, allocations: 4 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5326/0.5326, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.6789, allocations: 111 MB / 0.7424 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.6792, allocations: 83.88 kB / 0.7424 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006606/0.6858, allocations: 2.288 MB / 0.7447 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6858, allocations: 0 / 0.7447 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.6858, allocations: 0 / 0.7447 GB, free: 9.328 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002898/0.6861, allocations: 334.5 kB / 0.745 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.6862, allocations: 12.03 kB / 0.745 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.6862, allocations: 4 kB / 0.745 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.6863, allocations: 167 kB / 0.7452 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.6864, allocations: 0 / 0.7452 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.6864, allocations: 0 / 0.7452 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.014e-05/0.6864, allocations: 4 kB / 0.7452 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.965e-05/0.6865, allocations: 33.69 kB / 0.7452 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.6865, allocations: 0 / 0.7452 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.6865, allocations: 0 / 0.7452 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6865, allocations: 0 / 0.7452 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.6867, allocations: 150 kB / 0.7454 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.6867, allocations: 18.61 kB / 0.7454 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.6868, allocations: 12.91 kB / 0.7454 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.6868, allocations: 7.922 kB / 0.7454 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.6868, allocations: 34.56 kB / 0.7454 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.6868, allocations: 0 / 0.7454 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000131/0.687, allocations: 37.7 kB / 0.7455 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.687, allocations: 51.41 kB / 0.7455 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/0.6871, allocations: 85 kB / 0.7456 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.6871, allocations: 25.7 kB / 0.7456 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.6871, allocations: 84.14 kB / 0.7457 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.6872, allocations: 11.89 kB / 0.7457 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-06/0.6872, allocations: 0 / 0.7457 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.6873, allocations: 310.8 kB / 0.746 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.6873, allocations: 8.156 kB / 0.746 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.6873, allocations: 0 / 0.746 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.594e-05/0.6873, allocations: 4 kB / 0.746 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6873, allocations: 0 / 0.746 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.084e-05/0.6874, allocations: 45.59 kB / 0.7461 GB, free: 7.719 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.6874, allocations: 4 kB / 0.7461 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6874, allocations: 3.984 kB / 0.7461 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.6875, allocations: 0 / 0.7461 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.6876, allocations: 11.94 kB / 0.7461 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003228/0.6879, allocations: 0.5861 MB / 0.7466 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.688, allocations: 4.031 kB / 0.7467 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.688, allocations: 3.984 kB / 0.7467 GB, free: 7.082 MB / 0.5261 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.565e-05/0.6881, allocations: 104.9 kB / 0.7468 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.748e-05/0.6881, allocations: 37.64 kB / 0.7468 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.6881, allocations: 0 / 0.7468 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.013e-05/0.6882, allocations: 53.47 kB / 0.7468 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6882, allocations: 0 / 0.7468 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6883, allocations: 4 kB / 0.7468 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6883, allocations: 3.953 kB / 0.7469 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.71e-05/0.6883, allocations: 126.2 kB / 0.747 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6883, allocations: 0 / 0.747 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.913e-05/0.6884, allocations: 8 kB / 0.747 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6884, allocations: 7.922 kB / 0.747 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.6885, allocations: 0 / 0.747 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000277/0.6887, allocations: 0.5977 MB / 0.7476 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6888, allocations: 0 / 0.7476 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.304e-05/0.6888, allocations: 57.17 kB / 0.7476 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.6889, allocations: 77.11 kB / 0.7477 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.6889, allocations: 7.984 kB / 0.7477 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.336e-05/0.6889, allocations: 4.125 kB / 0.7477 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.6889, allocations: 3.953 kB / 0.7477 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.6889, allocations: 0 / 0.7477 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.689, allocations: 83.28 kB / 0.7478 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.689, allocations: 0 / 0.7478 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001966/0.6892, allocations: 12 kB / 0.7478 GB, free: 5.793 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003681/0.6896, allocations: 0.6125 MB / 0.7484 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.6897, allocations: 8 kB / 0.7484 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6897, allocations: 0 / 0.7484 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.516e-05/0.6898, allocations: 19.92 kB / 0.7484 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.6899, allocations: 3.953 kB / 0.7484 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.6902, allocations: 89.86 kB / 0.7485 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.6904, allocations: 0.6729 MB / 0.7492 GB, free: 4.293 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.934e-05/0.6904, allocations: 7.891 kB / 0.7492 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.6905, allocations: 7.438 kB / 0.7492 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.6905, allocations: 0 / 0.7492 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.7094, allocations: 0.748 MB / 0.7499 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.7096, allocations: 162.4 kB / 0.7501 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.218, allocations: 4.031 kB / 0.7501 GB, free: 3.348 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)