Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005679/0.005679, allocations: 95.62 kB / 15.73 MB, free: 6.051 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.001314/0.001314, allocations: 203.3 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9655/0.9655, allocations: 135.5 MB / 426.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 60.09 kB / 0.5857 GB, free: 3.254 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3405, allocations: 81.03 MB / 0.6649 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001701/0.3422, allocations: 1.238 MB / 0.6661 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007268/0.343, allocations: 0.594 MB / 0.6667 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.343, allocations: 5.062 kB / 0.6667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.314e-05/0.343, allocations: 0 / 0.6667 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.728e-05/0.3431, allocations: 7.922 kB / 0.6667 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.3435, allocations: 139.9 kB / 0.6668 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.831e-05/0.3435, allocations: 9.344 kB / 0.6668 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.621e-05/0.3436, allocations: 1.406 kB / 0.6668 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/0.3436, allocations: 2.156 kB / 0.6668 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.608e-05/0.3436, allocations: 9.203 kB / 0.6668 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.3437, allocations: 1.094 kB / 0.6668 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004332/0.3441, allocations: 344.8 kB / 0.6672 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.3441, allocations: 5.062 kB / 0.6672 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.3441, allocations: 2.562 kB / 0.6672 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3444, allocations: 143.9 kB / 0.6673 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3444, allocations: 4 kB / 0.6673 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3444, allocations: 0 / 0.6673 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.3444, allocations: 1.094 kB / 0.6673 GB, free: 5.141 MB / 0.4981 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.000254/0.3446, allocations: 347.5 kB / 0.6676 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3447, allocations: 8.688 kB / 0.6676 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.778e-05/0.3447, allocations: 39.69 kB / 0.6677 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.902e-05/0.3447, allocations: 1.969 kB / 0.6677 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.684e-05/0.3448, allocations: 173.5 kB / 0.6678 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.772e-06/0.3448, allocations: 384 / 0.6678 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.3448, allocations: 5.281 kB / 0.6679 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.472e-05/0.3449, allocations: 29.14 kB / 0.6679 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.3449, allocations: 0 / 0.6679 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.3449, allocations: 1.125 kB / 0.6679 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3449, allocations: 0 / 0.6679 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.3449, allocations: 10.67 kB / 0.6679 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.95e-05/0.345, allocations: 152.5 kB / 0.668 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.736e-05/0.3451, allocations: 23.73 kB / 0.6681 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.3451, allocations: 19.33 kB / 0.6681 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.3451, allocations: 1.188 kB / 0.6681 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.719e-06/0.3451, allocations: 31.62 kB / 0.6681 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.3451, allocations: 4 kB / 0.6681 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001094/0.3453, allocations: 43.12 kB / 0.6682 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.574e-05/0.3453, allocations: 56.66 kB / 0.6682 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.579e-05/0.3453, allocations: 92.2 kB / 0.6683 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-06/0.3453, allocations: 29.64 kB / 0.6683 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.03e-05/0.3453, allocations: 81.3 kB / 0.6684 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.3454, allocations: 13.25 kB / 0.6684 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.3454, allocations: 11.19 kB / 0.6684 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.071e-05/0.3454, allocations: 316.2 kB / 0.6687 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.3454, allocations: 2.25 kB / 0.6687 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-06/0.3455, allocations: 1.5 kB / 0.6687 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.3455, allocations: 14.92 kB / 0.6687 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3455, allocations: 0 / 0.6687 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.069e-05/0.3455, allocations: 50.34 kB / 0.6688 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.3456, allocations: 5.156 kB / 0.6688 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.3456, allocations: 4.078 kB / 0.6688 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3456, allocations: 4 kB / 0.6688 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3457, allocations: 11.92 kB / 0.6688 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001949/0.3459, allocations: 0.5796 MB / 0.6694 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.346, allocations: 0 / 0.6694 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.346, allocations: 5.375 kB / 0.6694 GB, free: 2.855 MB / 0.4981 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.346, allocations: 111.4 kB / 0.6695 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.346, allocations: 3.953 kB / 0.6695 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.076e-05/0.3461, allocations: 50.25 kB / 0.6695 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3461, allocations: 0 / 0.6695 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3461, allocations: 4 kB / 0.6695 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3461, allocations: 1.469 kB / 0.6695 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.739e-05/0.3462, allocations: 155.9 kB / 0.6697 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3462, allocations: 0 / 0.6697 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.3463, allocations: 7.781 kB / 0.6697 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3463, allocations: 4.031 kB / 0.6697 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.3463, allocations: 1.125 kB / 0.6697 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001504/0.3464, allocations: 0.5865 MB / 0.6703 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3464, allocations: 3.938 kB / 0.6703 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.729e-05/0.3465, allocations: 63.73 kB / 0.6703 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.3465, allocations: 85.12 kB / 0.6704 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.3465, allocations: 5.031 kB / 0.6704 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.336e-05/0.3466, allocations: 0 / 0.6704 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.3466, allocations: 1.094 kB / 0.6704 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.3466, allocations: 1.25 kB / 0.6704 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.488e-05/0.3466, allocations: 80.72 kB / 0.6705 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3466, allocations: 0 / 0.6705 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000192/0.3468, allocations: 10.91 kB / 0.6705 GB, free: 1.617 MB / 0.4981 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002294/0.347, allocations: 0.6208 MB / 0.6711 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.3472, allocations: 25.95 kB / 0.6712 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3472, allocations: 0 / 0.6712 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.3473, allocations: 13.92 kB / 0.6712 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.3474, allocations: 5.406 kB / 0.6712 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.3478, allocations: 139.4 kB / 0.6713 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.3478, allocations: 0.6715 MB / 0.672 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.53e-05/0.3479, allocations: 0 / 0.672 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.3479, allocations: 8.844 kB / 0.672 GB, free: 124 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3479, allocations: 0 / 0.672 GB, free: 124 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2406/0.5886, allocations: 1.365 MB / 0.6733 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/14.97, allocations: 13.44 kB / 0.6733 GB, free: 15.4 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)