Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.005392/0.005392, allocations: 102 kB / 15.73 MB, free: 6.484 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.001484/0.001484, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.954/0.954, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001537, allocations: 63.89 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4723, allocations: 80.91 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001945/0.4743, allocations: 1.292 MB / 0.6654 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008509/0.4751, allocations: 0.5916 MB / 0.666 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.4752, allocations: 0 / 0.666 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.4752, allocations: 0 / 0.666 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.113e-05/0.4753, allocations: 13.19 kB / 0.666 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.4758, allocations: 144.5 kB / 0.6661 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.4758, allocations: 16.52 kB / 0.6662 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.4759, allocations: 2.594 kB / 0.6662 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.414e-05/0.4759, allocations: 16.12 kB / 0.6662 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.476, allocations: 11.84 kB / 0.6662 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.476, allocations: 1.438 kB / 0.6662 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.4764, allocations: 337.3 kB / 0.6665 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.4764, allocations: 9.328 kB / 0.6665 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.4765, allocations: 10.78 kB / 0.6665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.4767, allocations: 147.4 kB / 0.6667 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4767, allocations: 1.344 kB / 0.6667 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4767, allocations: 0 / 0.6667 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.4767, allocations: 0 / 0.6667 GB, free: 5.348 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003732/0.4771, allocations: 363.1 kB / 0.667 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4772, allocations: 9.344 kB / 0.667 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.669e-05/0.4772, allocations: 32.12 kB / 0.6671 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.4772, allocations: 2.5 kB / 0.6671 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.815e-05/0.4773, allocations: 169.8 kB / 0.6672 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4773, allocations: 384 / 0.6672 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.4773, allocations: 9.656 kB / 0.6672 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.4775, allocations: 41.88 kB / 0.6673 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.4775, allocations: 3.938 kB / 0.6673 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.4775, allocations: 7.938 kB / 0.6673 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4775, allocations: 1.312 kB / 0.6673 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.854e-05/0.4776, allocations: 12.34 kB / 0.6673 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002531/0.4778, allocations: 253.8 kB / 0.6675 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.478, allocations: 45.59 kB / 0.6676 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.4781, allocations: 20.91 kB / 0.6676 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.4781, allocations: 5.594 kB / 0.6676 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.4781, allocations: 34.5 kB / 0.6676 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4781, allocations: 0 / 0.6676 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001692/0.4783, allocations: 55.77 kB / 0.6677 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.4783, allocations: 52.53 kB / 0.6677 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.4784, allocations: 102.6 kB / 0.6678 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.4784, allocations: 25.7 kB / 0.6679 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.4785, allocations: 92.05 kB / 0.6679 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.4785, allocations: 6.719 kB / 0.668 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.4785, allocations: 17.75 kB / 0.668 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/0.4786, allocations: 319.9 kB / 0.6683 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.4786, allocations: 7.344 kB / 0.6683 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/0.4786, allocations: 20.41 kB / 0.6683 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.4787, allocations: 37.61 kB / 0.6683 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.4787, allocations: 0 / 0.6683 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.146e-05/0.4788, allocations: 63.25 kB / 0.6684 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4788, allocations: 7.031 kB / 0.6684 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4788, allocations: 1.656 kB / 0.6684 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4788, allocations: 0 / 0.6684 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.748e-05/0.4789, allocations: 11.56 kB / 0.6684 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4789, allocations: 0 / 0.6684 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.4789, allocations: 5.469 kB / 0.6684 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.4789, allocations: 6.531 kB / 0.6684 GB, free: 3.477 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.461e-05/0.479, allocations: 122.9 kB / 0.6685 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.479, allocations: 1.281 kB / 0.6685 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.4792, allocations: 61.16 kB / 0.6686 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4792, allocations: 0 / 0.6686 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4792, allocations: 1.188 kB / 0.6686 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4792, allocations: 0 / 0.6686 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4793, allocations: 163.4 kB / 0.6688 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4793, allocations: 0 / 0.6688 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.4794, allocations: 5.156 kB / 0.6688 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4794, allocations: 9.203 kB / 0.6688 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.4794, allocations: 1.469 kB / 0.6688 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4794, allocations: 0 / 0.6688 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4794, allocations: 0 / 0.6688 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.541e-05/0.4795, allocations: 159.5 kB / 0.6689 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.4795, allocations: 78.08 kB / 0.669 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.4795, allocations: 1.25 kB / 0.669 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.796e-05/0.4796, allocations: 0 / 0.669 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.4796, allocations: 6.031 kB / 0.669 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.4796, allocations: 1.188 kB / 0.669 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.223e-05/0.4796, allocations: 86.19 kB / 0.6691 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4796, allocations: 0 / 0.6691 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002423/0.4799, allocations: 17.59 kB / 0.6691 GB, free: 2.738 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003505/0.4802, allocations: 0.7005 MB / 0.6698 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001103/0.4804, allocations: 35.2 kB / 0.6698 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4804, allocations: 0 / 0.6698 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.4804, allocations: 12.58 kB / 0.6698 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.4806, allocations: 1.406 kB / 0.6698 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.481, allocations: 161.8 kB / 0.67 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4812, allocations: 0.6819 MB / 0.6707 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.4812, allocations: 10.61 kB / 0.6707 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.241e-05/0.4812, allocations: 9.938 kB / 0.6707 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.4812, allocations: 0 / 0.6707 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.4992, allocations: 1.395 MB / 0.672 GB, free: 376 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.325/7.824, allocations: 5.344 kB / 0.672 GB, free: 376 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)