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.001458/0.001458, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001765/0.001765, allocations: 191.1 kB / 16.14 MB, free: 6.688 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.898/0.898, allocations: 135.1 MB / 425.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 68.02 kB / 0.5048 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1489, allocations: 80.92 MB / 0.5838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002092/0.151, allocations: 1.333 MB / 0.5851 GB, free: 3.535 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000905/0.1519, allocations: 0.6128 MB / 0.5857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.537e-05/0.1519, allocations: 8 kB / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.152, allocations: 0 / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.021e-05/0.152, allocations: 7.922 kB / 0.5857 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.1524, allocations: 119.6 kB / 0.5858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.02e-05/0.1525, allocations: 15.94 kB / 0.5859 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.1525, allocations: 7.984 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.864e-05/0.1525, allocations: 7.938 kB / 0.5859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.261e-05/0.1526, allocations: 11.98 kB / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.1526, allocations: 4 kB / 0.5859 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.1531, allocations: 343.3 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.1531, allocations: 3.938 kB / 0.5862 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.1531, allocations: 7.984 kB / 0.5862 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1533, allocations: 147.9 kB / 0.5864 GB, free: 2.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1534, allocations: 0 / 0.5864 GB, free: 2.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1534, allocations: 0 / 0.5864 GB, free: 2.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.1534, allocations: 0 / 0.5864 GB, free: 2.25 MB / 494.1 MB 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.0003683/0.1537, allocations: 363.4 kB / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1538, allocations: 12.03 kB / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.237e-05/0.1538, allocations: 34.75 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.326e-05/0.1539, allocations: 4.938 kB / 0.5868 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.1539, allocations: 168.3 kB / 0.5869 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.154, allocations: 384 / 0.5869 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.154, allocations: 4.375 kB / 0.5869 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.599e-05/0.1541, allocations: 45.56 kB / 0.587 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.1541, allocations: 0 / 0.587 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.1541, allocations: 4 kB / 0.587 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1541, allocations: 0 / 0.587 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.1542, allocations: 16 kB / 0.587 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.1544, allocations: 248.9 kB / 0.5872 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1546, allocations: 50.62 kB / 0.5873 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.1547, allocations: 28.77 kB / 0.5873 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1547, allocations: 0 / 0.5873 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.1547, allocations: 34.56 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1547, allocations: 0 / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001487/0.1549, allocations: 61.59 kB / 0.5874 GB, free: 1.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.1549, allocations: 51.41 kB / 0.5874 GB, free: 0.957 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.815e-05/0.155, allocations: 101.8 kB / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.155, allocations: 25.7 kB / 0.5876 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.322e-05/0.155, allocations: 80.14 kB / 0.5876 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.155, allocations: 19.75 kB / 0.5877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.1551, allocations: 17.72 kB / 0.5877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.1552, allocations: 322.8 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.1552, allocations: 7.938 kB / 0.588 GB, free: 368 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.1552, allocations: 21.72 kB / 0.588 GB, free: 340 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.771e-05/0.1553, allocations: 33.7 kB / 0.588 GB, free: 300 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1553, allocations: 0 / 0.588 GB, free: 300 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.993e-05/0.1554, allocations: 57.75 kB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1554, allocations: 8 kB / 0.5881 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1554, allocations: 4 kB / 0.5881 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.1554, allocations: 0 / 0.5881 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.671e-05/0.1555, allocations: 8 kB / 0.5881 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1555, allocations: 0 / 0.5881 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.1555, allocations: 0 / 0.5881 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1555, allocations: 4 kB / 0.5881 GB, free: 212 kB / 494.1 MB 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 6.211e-05/0.1556, allocations: 117.8 kB / 0.5882 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.1556, allocations: 7.938 kB / 0.5882 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.1558, allocations: 69.09 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1558, allocations: 0 / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1558, allocations: 4 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1558, allocations: 0 / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.156, allocations: 161.5 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.156, allocations: 0 / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.156, allocations: 11.98 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.156, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.156, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.156, allocations: 4 kB / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.156, allocations: 0 / 0.5885 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.1561, allocations: 151.9 kB / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.1562, allocations: 88.98 kB / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1562, allocations: 8 kB / 0.5887 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.1563, allocations: 0 / 0.5887 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.057e-05/0.1563, allocations: 3.938 kB / 0.5887 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.1563, allocations: 3.984 kB / 0.5887 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.1563, allocations: 83.28 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1563, allocations: 0 / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002493/0.1566, allocations: 20 kB / 0.5888 GB, free: 15.38 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.0003857/0.157, allocations: 0.6977 MB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.1571, allocations: 27.98 kB / 0.5895 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1571, allocations: 0 / 0.5895 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-05/0.1571, allocations: 15.98 kB / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.1573, allocations: 6 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.1577, allocations: 166 kB / 0.5897 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.1579, allocations: 0.6809 MB / 0.5904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.1579, allocations: 4.062 kB / 0.5904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.158, allocations: 14.06 kB / 0.5904 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.158, allocations: 0 / 0.5904 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04945/0.2074, allocations: 1.244 MB / 0.5916 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.2076, allocations: 214.5 kB / 0.5918 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/1.965, allocations: 0 / 0.5918 GB, free: 12.32 MB / 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)