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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004503/0.004503, allocations: 101.6 kB / 15.73 MB, free: 6.492 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.001094/0.001094, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7809/0.7809, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.89 kB / 0.5809 GB, free: 8.074 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4159, allocations: 80.19 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002373/0.4183, allocations: 1.247 MB / 0.6604 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.4192, allocations: 0.5881 MB / 0.661 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.4192, allocations: 0 / 0.661 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.4192, allocations: 4 kB / 0.661 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.4193, allocations: 4.594 kB / 0.661 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.4198, allocations: 140.6 kB / 0.6611 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.484e-05/0.4198, allocations: 14.84 kB / 0.6611 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.4199, allocations: 2.125 kB / 0.6611 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.893e-05/0.4199, allocations: 3.359 kB / 0.6611 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.42, allocations: 10.66 kB / 0.6611 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.42, allocations: 5.312 kB / 0.6611 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.4205, allocations: 340.3 kB / 0.6615 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.4205, allocations: 5.25 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.4205, allocations: 2.266 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.4208, allocations: 145.1 kB / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4208, allocations: 1.688 kB / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4208, allocations: 0 / 0.6616 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.4208, allocations: 0 / 0.6616 GB, free: 8.316 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.0003039/0.4211, allocations: 344 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.4211, allocations: 10.69 kB / 0.662 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.094e-05/0.4212, allocations: 38.69 kB / 0.662 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.4212, allocations: 2.844 kB / 0.662 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.192e-05/0.4213, allocations: 166.9 kB / 0.6622 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.4213, allocations: 384 / 0.6622 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.4213, allocations: 4.844 kB / 0.6622 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.845e-05/0.4214, allocations: 34.66 kB / 0.6622 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.4214, allocations: 0 / 0.6622 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.4214, allocations: 1.828 kB / 0.6622 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.4214, allocations: 0 / 0.6622 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.446e-05/0.4214, allocations: 3.281 kB / 0.6622 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001067/0.4216, allocations: 154.9 kB / 0.6623 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.031e-05/0.4216, allocations: 25.84 kB / 0.6624 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.4216, allocations: 15.2 kB / 0.6624 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.4216, allocations: 4.656 kB / 0.6624 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.151e-05/0.4217, allocations: 32.38 kB / 0.6624 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4217, allocations: 0 / 0.6624 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001254/0.4218, allocations: 45.77 kB / 0.6625 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.4218, allocations: 51.41 kB / 0.6625 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.314e-05/0.4219, allocations: 99.39 kB / 0.6626 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/0.4219, allocations: 25.7 kB / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.256e-05/0.4219, allocations: 80.14 kB / 0.6627 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.4219, allocations: 10.08 kB / 0.6627 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.422, allocations: 16.75 kB / 0.6627 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.422, allocations: 315.8 kB / 0.663 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.422, allocations: 3.188 kB / 0.663 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.336e-06/0.422, allocations: 2.172 kB / 0.663 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.4221, allocations: 15.11 kB / 0.6631 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4221, allocations: 0 / 0.6631 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.113e-05/0.4221, allocations: 43.77 kB / 0.6631 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.4221, allocations: 6.281 kB / 0.6631 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4221, allocations: 0 / 0.6631 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4222, allocations: 8.641 kB / 0.6631 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4223, allocations: 14.36 kB / 0.6631 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002319/0.4225, allocations: 0.5796 MB / 0.6637 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.4226, allocations: 8 kB / 0.6637 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4226, allocations: 5.828 kB / 0.6637 GB, free: 6.062 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 4.474e-05/0.4226, allocations: 108.9 kB / 0.6638 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.4227, allocations: 5.438 kB / 0.6638 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.147e-05/0.4227, allocations: 46.98 kB / 0.6639 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4228, allocations: 1.031 kB / 0.6639 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4228, allocations: 0.6562 kB / 0.6639 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4228, allocations: 1 kB / 0.6639 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.655e-05/0.4228, allocations: 154.5 kB / 0.664 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4228, allocations: 1.031 kB / 0.664 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.789e-05/0.4229, allocations: 9.844 kB / 0.664 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4229, allocations: 1.094 kB / 0.664 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.4229, allocations: 4.594 kB / 0.664 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001686/0.4231, allocations: 0.5869 MB / 0.6646 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4231, allocations: 9.547 kB / 0.6646 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.44e-05/0.4232, allocations: 61.36 kB / 0.6647 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.4232, allocations: 81.84 kB / 0.6647 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.4232, allocations: 6 kB / 0.6647 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.347e-05/0.4232, allocations: 0 / 0.6647 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.673e-05/0.4233, allocations: 2.078 kB / 0.6648 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.4233, allocations: 0 / 0.6648 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.693e-05/0.4233, allocations: 78.67 kB / 0.6648 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4233, allocations: 0 / 0.6648 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001878/0.4235, allocations: 11.38 kB / 0.6648 GB, free: 4.852 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.0002827/0.4238, allocations: 0.6152 MB / 0.6654 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001606/0.4239, allocations: 16.55 kB / 0.6655 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4239, allocations: 0 / 0.6655 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.424, allocations: 17.97 kB / 0.6655 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.4242, allocations: 6.438 kB / 0.6655 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.4246, allocations: 151.6 kB / 0.6656 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.253e-05/0.4247, allocations: 0.6743 MB / 0.6663 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.494e-05/0.4248, allocations: 0 / 0.6663 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.4248, allocations: 8.562 kB / 0.6663 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4248, allocations: 5.031 kB / 0.6663 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.4412, allocations: 1.362 MB / 0.6676 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.07, allocations: 4.969 kB / 0.6676 GB, free: 2.77 MB / 0.4981 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/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)