Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.00223/0.00223, allocations: 173.4 kB / 7.647 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 1.37/1.37, allocations: 133.6 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 2.985/2.985, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001709/0.001709, allocations: 95.83 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.355e-05/4.328e-05, allocations: 4 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9254/0.9255, allocations: 82.3 MB / 0.6339 GB, free: 40.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2558/1.181, allocations: 111 MB / 0.7424 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/1.182, allocations: 79.94 kB / 0.7424 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01132/1.193, allocations: 2.292 MB / 0.7447 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.35e-06/1.193, allocations: 0 / 0.7447 GB, free: 9.371 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.193, allocations: 0 / 0.7447 GB, free: 9.371 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.0005663/1.194, allocations: 334.5 kB / 0.745 GB, free: 9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 9.122e-05/1.194, allocations: 8.031 kB / 0.745 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/1.194, allocations: 0 / 0.745 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/1.194, allocations: 171 kB / 0.7452 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/1.194, allocations: 7.938 kB / 0.7452 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/1.194, allocations: 0 / 0.7452 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.24e-05/1.195, allocations: 11.98 kB / 0.7452 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/1.195, allocations: 25.7 kB / 0.7452 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.195, allocations: 0 / 0.7452 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.195, allocations: 0 / 0.7452 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/1.195, allocations: 4 kB / 0.7452 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/1.195, allocations: 134 kB / 0.7453 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.214e-05/1.195, allocations: 34.53 kB / 0.7454 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/1.195, allocations: 12.86 kB / 0.7454 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/1.195, allocations: 0 / 0.7454 GB, free: 8.504 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.045e-05/1.195, allocations: 30.56 kB / 0.7454 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/1.195, allocations: 0 / 0.7454 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002901/1.196, allocations: 33.7 kB / 0.7454 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/1.196, allocations: 51.41 kB / 0.7455 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/1.196, allocations: 97.03 kB / 0.7456 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/1.196, allocations: 25.7 kB / 0.7456 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/1.196, allocations: 84.12 kB / 0.7457 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/1.196, allocations: 3.906 kB / 0.7457 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/1.196, allocations: 0 / 0.7457 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002797/1.196, allocations: 314.8 kB / 0.746 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/1.196, allocations: 4 kB / 0.746 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/1.196, allocations: 0 / 0.746 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/1.196, allocations: 8.188 kB / 0.746 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.196, allocations: 3.938 kB / 0.746 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001332/1.197, allocations: 41.64 kB / 0.7461 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/1.197, allocations: 4 kB / 0.7461 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.197, allocations: 0 / 0.7461 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/1.197, allocations: 4 kB / 0.7461 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/1.197, allocations: 4 kB / 0.7461 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008289/1.198, allocations: 0.59 MB / 0.7466 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/1.198, allocations: 0 / 0.7466 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/1.198, allocations: 0 / 0.7466 GB, free: 7.137 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 0.0001558/1.198, allocations: 104.9 kB / 0.7467 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.425e-05/1.198, allocations: 45.67 kB / 0.7468 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/1.198, allocations: 0 / 0.7468 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/1.198, allocations: 45.34 kB / 0.7468 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/1.198, allocations: 4.156 kB / 0.7468 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.198, allocations: 0 / 0.7468 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.198, allocations: 3.953 kB / 0.7468 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/1.199, allocations: 138.2 kB / 0.747 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.199, allocations: 0 / 0.747 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/1.199, allocations: 11.94 kB / 0.747 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/1.199, allocations: 3.984 kB / 0.747 GB, free: 6.734 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/1.199, allocations: 11.88 kB / 0.747 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005276/1.199, allocations: 0.5899 MB / 0.7476 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.199, allocations: 0 / 0.7476 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/1.2, allocations: 61.17 kB / 0.7476 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.217e-05/1.2, allocations: 81.09 kB / 0.7477 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/1.2, allocations: 0 / 0.7477 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/1.2, allocations: 0 / 0.7477 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/1.2, allocations: 3.953 kB / 0.7477 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/1.2, allocations: 8.125 kB / 0.7477 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.267e-05/1.2, allocations: 75.28 kB / 0.7478 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.2, allocations: 3.938 kB / 0.7478 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003932/1.2, allocations: 12 kB / 0.7478 GB, free: 5.832 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.0008423/1.201, allocations: 0.6102 MB / 0.7484 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002492/1.201, allocations: 16 kB / 0.7484 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.201, allocations: 0 / 0.7484 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/1.202, allocations: 15.92 kB / 0.7484 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/1.202, allocations: 3.953 kB / 0.7484 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006444/1.203, allocations: 81.7 kB / 0.7485 GB, free: 5.039 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/1.203, allocations: 0.6768 MB / 0.7492 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.435e-05/1.203, allocations: 12.03 kB / 0.7492 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/1.203, allocations: 7.438 kB / 0.7492 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of SimCode: time 3.61e-07/1.203, allocations: 0 / 0.7492 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/1.241, allocations: 0.7346 MB / 0.7499 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003499/1.241, allocations: 177.8 kB / 0.7501 GB, free: 3.395 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.8, allocations: 7.938 kB / 0.7501 GB, free: 3.387 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)