Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_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.01002/0.01002, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.002704/0.002703, allocations: 202.8 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.41/2.41, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.46/1.46, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 67.89 kB / 0.5809 GB, free: 8.07 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8976/0.8999, allocations: 80.2 MB / 0.6592 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.004735/0.9047, allocations: 1.283 MB / 0.6604 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00159/0.9064, allocations: 0.5976 MB / 0.661 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.9065, allocations: 0 / 0.661 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.147e-05/0.9066, allocations: 0.6562 kB / 0.661 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.9067, allocations: 5.578 kB / 0.661 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.9079, allocations: 144.6 kB / 0.6612 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.908, allocations: 15.98 kB / 0.6612 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.622e-05/0.9081, allocations: 7.719 kB / 0.6612 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.9082, allocations: 17.34 kB / 0.6612 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.082e-05/0.9083, allocations: 6.422 kB / 0.6612 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.9083, allocations: 0 / 0.6612 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009336/0.9092, allocations: 342.5 kB / 0.6615 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.9093, allocations: 8.578 kB / 0.6615 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.9093, allocations: 12.53 kB / 0.6616 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004561/0.9098, allocations: 145.1 kB / 0.6617 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.9098, allocations: 0.6094 kB / 0.6617 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.905e-06/0.9098, allocations: 5.281 kB / 0.6617 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.9098, allocations: 0 / 0.6617 GB, free: 8.352 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.0005542/0.9104, allocations: 361.2 kB / 0.662 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.9105, allocations: 9.938 kB / 0.6621 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.9105, allocations: 31.45 kB / 0.6621 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.9106, allocations: 7.375 kB / 0.6621 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.9107, allocations: 165.6 kB / 0.6622 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.9107, allocations: 5.5 kB / 0.6623 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.9108, allocations: 14.86 kB / 0.6623 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.9109, allocations: 41.12 kB / 0.6623 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.911, allocations: 4 kB / 0.6623 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.911, allocations: 0 / 0.6623 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.911, allocations: 1.219 kB / 0.6623 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.9e-05/0.9111, allocations: 15.81 kB / 0.6623 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.9116, allocations: 248.3 kB / 0.6626 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.9119, allocations: 49.75 kB / 0.6626 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.503e-05/0.912, allocations: 22.53 kB / 0.6626 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.912, allocations: 5.266 kB / 0.6626 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.912, allocations: 32.25 kB / 0.6627 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.912, allocations: 0 / 0.6627 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000263/0.9123, allocations: 56.25 kB / 0.6627 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.9124, allocations: 53.16 kB / 0.6628 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.9125, allocations: 99.56 kB / 0.6629 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.9125, allocations: 29.7 kB / 0.6629 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.9125, allocations: 89.64 kB / 0.663 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.9126, allocations: 10.88 kB / 0.663 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.9126, allocations: 18.69 kB / 0.663 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.9127, allocations: 317.4 kB / 0.6633 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.301e-05/0.9127, allocations: 9.703 kB / 0.6633 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.843e-05/0.9128, allocations: 20.94 kB / 0.6633 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.074e-05/0.9129, allocations: 31.06 kB / 0.6634 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9129, allocations: 0 / 0.6634 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001321/0.913, allocations: 60.34 kB / 0.6634 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.9131, allocations: 5.469 kB / 0.6634 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9131, allocations: 0 / 0.6634 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.9131, allocations: 2 kB / 0.6634 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.465e-05/0.9132, allocations: 11.72 kB / 0.6634 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.9132, allocations: 0.5625 kB / 0.6634 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.9133, allocations: 5.125 kB / 0.6635 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.9133, allocations: 6.828 kB / 0.6635 GB, free: 6.531 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 7.361e-05/0.9134, allocations: 125.8 kB / 0.6636 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.9134, allocations: 1.422 kB / 0.6636 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.9136, allocations: 66.81 kB / 0.6636 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.9136, allocations: 0 / 0.6636 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9137, allocations: 0 / 0.6636 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.9137, allocations: 2.219 kB / 0.6636 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.9139, allocations: 162.4 kB / 0.6638 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9139, allocations: 0.6562 kB / 0.6638 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.493e-05/0.914, allocations: 10.44 kB / 0.6638 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.914, allocations: 0 / 0.6638 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.914, allocations: 1.984 kB / 0.6638 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.914, allocations: 0 / 0.6638 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.914, allocations: 3.938 kB / 0.6638 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.9142, allocations: 148.8 kB / 0.664 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.9142, allocations: 79.56 kB / 0.664 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.9143, allocations: 0 / 0.664 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/0.9143, allocations: 4.75 kB / 0.664 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.9144, allocations: 3.109 kB / 0.664 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.9144, allocations: 5.922 kB / 0.664 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.9145, allocations: 78.2 kB / 0.6641 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9145, allocations: 0 / 0.6641 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004369/0.9149, allocations: 18.38 kB / 0.6641 GB, free: 5.816 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.0007483/0.9157, allocations: 0.7007 MB / 0.6648 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.9159, allocations: 30.36 kB / 0.6649 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.9159, allocations: 0 / 0.6649 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.916, allocations: 13.94 kB / 0.6649 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.9164, allocations: 3.312 kB / 0.6649 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008329/0.9172, allocations: 171.7 kB / 0.665 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/0.9174, allocations: 0.6812 MB / 0.6657 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.468e-05/0.9175, allocations: 6.172 kB / 0.6657 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.9175, allocations: 13.88 kB / 0.6657 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.9175, allocations: 0 / 0.6657 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03438/0.9519, allocations: 1.39 MB / 0.6671 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.87, allocations: 10.98 kB / 0.6671 GB, free: 3.484 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)