Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.001183/0.001183, allocations: 173.7 kB / 7.646 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.7476/0.7476, allocations: 133.6 MB / 141.6 MB, free: 2.938 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.508/1.508, allocations: 221.5 MB / 395.5 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.0009579/0.0009579, allocations: 98.06 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.487e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4859, allocations: 82.29 MB / 0.6339 GB, free: 40.67 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.6331, allocations: 111.1 MB / 0.7425 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.6334, allocations: 75.95 kB / 0.7425 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009612/0.643, allocations: 3.486 MB / 0.7459 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/0.643, allocations: 0 / 0.7459 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.6431, allocations: 4 kB / 0.7459 GB, free: 7.938 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.0002825/0.6433, allocations: 334.4 kB / 0.7463 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6434, allocations: 8.031 kB / 0.7463 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.6434, allocations: 0 / 0.7463 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.6436, allocations: 167 kB / 0.7464 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.6436, allocations: 0 / 0.7464 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.6436, allocations: 7.875 kB / 0.7464 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.608e-05/0.6437, allocations: 8 kB / 0.7464 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.189e-05/0.6437, allocations: 37.69 kB / 0.7465 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.6438, allocations: 0 / 0.7465 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.6438, allocations: 0 / 0.7465 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.6438, allocations: 0 / 0.7465 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.6439, allocations: 130.1 kB / 0.7466 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.644, allocations: 30.61 kB / 0.7466 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.644, allocations: 8.859 kB / 0.7466 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.644, allocations: 7.938 kB / 0.7466 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.6441, allocations: 42.55 kB / 0.7467 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.031e-06/0.6441, allocations: 0 / 0.7467 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.6442, allocations: 29.7 kB / 0.7467 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.6443, allocations: 51.41 kB / 0.7468 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.6443, allocations: 93 kB / 0.7469 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.6443, allocations: 25.7 kB / 0.7469 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.6444, allocations: 84.3 kB / 0.747 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.6444, allocations: 3.906 kB / 0.747 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-06/0.6444, allocations: 4 kB / 0.747 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.21e-05/0.6445, allocations: 314.8 kB / 0.7473 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.216e-05/0.6445, allocations: 4 kB / 0.7473 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-06/0.6445, allocations: 4 kB / 0.7473 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.379e-05/0.6446, allocations: 0 / 0.7473 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6446, allocations: 0 / 0.7473 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.628e-05/0.6446, allocations: 45.66 kB / 0.7473 GB, free: 6.328 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.6447, allocations: 8 kB / 0.7473 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6447, allocations: 0 / 0.7473 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6447, allocations: 3.984 kB / 0.7473 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.6448, allocations: 11.98 kB / 0.7473 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003381/0.6452, allocations: 0.5782 MB / 0.7479 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.6452, allocations: 0 / 0.7479 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.6452, allocations: 4.125 kB / 0.7479 GB, free: 5.699 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.721e-05/0.6453, allocations: 109 kB / 0.748 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.963e-05/0.6454, allocations: 45.62 kB / 0.7481 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-06/0.6454, allocations: 0 / 0.7481 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.6455, allocations: 45.34 kB / 0.7481 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.6455, allocations: 0 / 0.7481 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.6455, allocations: 0 / 0.7481 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6455, allocations: 3.953 kB / 0.7481 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.969e-05/0.6456, allocations: 134.3 kB / 0.7482 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6456, allocations: 0 / 0.7482 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.6457, allocations: 11.98 kB / 0.7482 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6457, allocations: 3.938 kB / 0.7482 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.6457, allocations: 0 / 0.7482 GB, free: 5.301 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002636/0.646, allocations: 0.5899 MB / 0.7488 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.646, allocations: 3.938 kB / 0.7488 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.098e-05/0.646, allocations: 65.22 kB / 0.7489 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.6461, allocations: 77.11 kB / 0.749 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.6461, allocations: 0 / 0.749 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.281e-05/0.6461, allocations: 0 / 0.749 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.6461, allocations: 11.94 kB / 0.749 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.6462, allocations: 0 / 0.749 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.6462, allocations: 75.31 kB / 0.749 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6462, allocations: 4.094 kB / 0.7491 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001813/0.6464, allocations: 11.94 kB / 0.7491 GB, free: 4.406 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.0003634/0.6468, allocations: 0.6124 MB / 0.7497 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.6469, allocations: 20.03 kB / 0.7497 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6469, allocations: 0 / 0.7497 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.422e-05/0.647, allocations: 11.98 kB / 0.7497 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.6471, allocations: 7.891 kB / 0.7497 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.6474, allocations: 90.42 kB / 0.7498 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.6476, allocations: 0.6768 MB / 0.7504 GB, free: 2.895 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.6476, allocations: 3.906 kB / 0.7505 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.6477, allocations: 15.56 kB / 0.7505 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of SimCode: time 3.51e-07/0.6477, allocations: 0 / 0.7505 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.6651, allocations: 0.7294 MB / 0.7512 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.6654, allocations: 163.3 kB / 0.7513 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.422/2.088, allocations: 0 / 0.7513 GB, free: 1.965 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)