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.001031/0.001034, 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.001061/0.001061, allocations: 193.3 kB / 16.14 MB, free: 6.707 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.298/1.298, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7256/0.7256, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 59.94 kB / 0.5012 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1264, allocations: 80.19 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002052/0.1285, allocations: 1.345 MB / 0.5808 GB, free: 7.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008995/0.1294, allocations: 0.6206 MB / 0.5814 GB, free: 7.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.363e-05/0.1294, allocations: 4 kB / 0.5814 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.1295, allocations: 0 / 0.5814 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.801e-05/0.1295, allocations: 7.922 kB / 0.5814 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.1299, allocations: 126.5 kB / 0.5815 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.839e-05/0.13, allocations: 15.92 kB / 0.5816 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.413e-05/0.13, allocations: 4 kB / 0.5816 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.206e-05/0.13, allocations: 15.92 kB / 0.5816 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.1301, allocations: 7.984 kB / 0.5816 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1301, allocations: 0 / 0.5816 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.1305, allocations: 339.3 kB / 0.5819 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.1306, allocations: 3.984 kB / 0.5819 GB, free: 6.652 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.1306, allocations: 11.94 kB / 0.5819 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1308, allocations: 151.9 kB / 0.5821 GB, free: 6.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1308, allocations: 4 kB / 0.5821 GB, free: 6.488 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1308, allocations: 0 / 0.5821 GB, free: 6.488 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.1309, allocations: 0 / 0.5821 GB, free: 6.488 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.0003729/0.1312, allocations: 359.4 kB / 0.5824 GB, free: 6.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1313, allocations: 12.02 kB / 0.5824 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.646e-05/0.1313, allocations: 30.75 kB / 0.5825 GB, free: 6.039 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.1313, allocations: 4.938 kB / 0.5825 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.895e-05/0.1314, allocations: 160.4 kB / 0.5826 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.1314, allocations: 4.312 kB / 0.5826 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1315, allocations: 12.38 kB / 0.5826 GB, free: 5.824 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.256e-05/0.1316, allocations: 41.62 kB / 0.5827 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1316, allocations: 4 kB / 0.5827 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.1316, allocations: 3.938 kB / 0.5827 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1316, allocations: 0 / 0.5827 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.1316, allocations: 15.98 kB / 0.5827 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002702/0.1319, allocations: 248.9 kB / 0.5829 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1321, allocations: 54.56 kB / 0.583 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.1322, allocations: 16.86 kB / 0.583 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1322, allocations: 3.984 kB / 0.583 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.1322, allocations: 34.56 kB / 0.583 GB, free: 5.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1322, allocations: 0 / 0.583 GB, free: 5.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001524/0.1324, allocations: 65.58 kB / 0.5831 GB, free: 5.262 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.1324, allocations: 55.34 kB / 0.5832 GB, free: 5.195 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/0.1325, allocations: 98.19 kB / 0.5832 GB, free: 5.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.1325, allocations: 25.7 kB / 0.5833 GB, free: 5.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.1325, allocations: 84.14 kB / 0.5833 GB, free: 4.973 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.1326, allocations: 19.73 kB / 0.5834 GB, free: 4.953 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1326, allocations: 21.66 kB / 0.5834 GB, free: 4.926 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.1327, allocations: 314.8 kB / 0.5837 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.1327, allocations: 8 kB / 0.5837 GB, free: 4.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.1327, allocations: 25.7 kB / 0.5837 GB, free: 4.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.1328, allocations: 33.75 kB / 0.5838 GB, free: 4.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1328, allocations: 0 / 0.5838 GB, free: 4.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.905e-05/0.1329, allocations: 57.62 kB / 0.5838 GB, free: 4.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1329, allocations: 8 kB / 0.5838 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1329, allocations: 0 / 0.5838 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.1329, allocations: 0 / 0.5838 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.133, allocations: 11.98 kB / 0.5838 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.133, allocations: 4.031 kB / 0.5838 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.133, allocations: 3.906 kB / 0.5838 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.133, allocations: 4 kB / 0.5838 GB, free: 4.438 MB / 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.326e-05/0.1331, allocations: 114.4 kB / 0.5839 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.1331, allocations: 8 kB / 0.584 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1333, allocations: 57.17 kB / 0.584 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1333, allocations: 0 / 0.584 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1333, allocations: 4 kB / 0.584 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1333, allocations: 4 kB / 0.584 GB, free: 4.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.1334, allocations: 157.6 kB / 0.5842 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1335, allocations: 3.938 kB / 0.5842 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.1335, allocations: 8 kB / 0.5842 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1335, allocations: 0 / 0.5842 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.1335, allocations: 0 / 0.5842 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1335, allocations: 3.938 kB / 0.5842 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1335, allocations: 0 / 0.5842 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.1336, allocations: 151.5 kB / 0.5843 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.1337, allocations: 84.95 kB / 0.5844 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1337, allocations: 7.984 kB / 0.5844 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.1338, allocations: 0 / 0.5844 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.1338, allocations: 0 / 0.5844 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.1338, allocations: 128 / 0.5844 GB, free: 3.738 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.098e-05/0.1338, allocations: 83.28 kB / 0.5845 GB, free: 3.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1338, allocations: 0 / 0.5845 GB, free: 3.656 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002484/0.1341, allocations: 20 kB / 0.5845 GB, free: 3.637 MB / 494.1 MB 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.0003842/0.1345, allocations: 0.7007 MB / 0.5852 GB, free: 2.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.95e-05/0.1346, allocations: 24.31 kB / 0.5852 GB, free: 2.887 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1346, allocations: 0 / 0.5852 GB, free: 2.887 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.1346, allocations: 16.03 kB / 0.5852 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.1348, allocations: 5.406 kB / 0.5852 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.1352, allocations: 182 kB / 0.5854 GB, free: 2.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.1354, allocations: 0.677 MB / 0.5861 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.215e-05/0.1355, allocations: 3.984 kB / 0.5861 GB, free: 1.941 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.1355, allocations: 11.44 kB / 0.5861 GB, free: 1.934 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1355, allocations: 4 kB / 0.5861 GB, free: 1.93 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/0.3101, allocations: 1.241 MB / 0.5873 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.3103, allocations: 209 kB / 0.5875 GB, free: 0.582 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.877, allocations: 0 / 0.5875 GB, free: 0.582 MB / 494.1 MB (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)