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.0007318/0.0007319, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.003819/0.003819, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8787/0.8787, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002818, allocations: 12.28 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.128, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001099/0.1291, allocations: 0.9984 MB / 0.5891 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008602/0.13, allocations: 0.605 MB / 0.5896 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.185e-05/0.13, allocations: 0 / 0.5896 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.13, allocations: 0 / 0.5896 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.895e-05/0.1301, allocations: 11.92 kB / 0.5897 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1304, allocations: 115.6 kB / 0.5898 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.836e-05/0.1305, allocations: 27.92 kB / 0.5898 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.1305, allocations: 0 / 0.5898 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.1305, allocations: 4 kB / 0.5898 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.216e-05/0.1306, allocations: 11.92 kB / 0.5898 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.1306, allocations: 4 kB / 0.5898 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.131, allocations: 343.3 kB / 0.5901 GB, free: 408 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.748e-06/0.1311, allocations: 4 kB / 0.5901 GB, free: 404 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1311, allocations: 33.64 kB / 0.5902 GB, free: 364 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1313, allocations: 147.9 kB / 0.5903 GB, free: 216 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1313, allocations: 0 / 0.5903 GB, free: 216 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1313, allocations: 4 kB / 0.5903 GB, free: 212 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1313, allocations: 4 kB / 0.5903 GB, free: 208 kB / 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.0003341/0.1317, allocations: 355.4 kB / 0.5907 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1317, allocations: 8.031 kB / 0.5907 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.1317, allocations: 34.73 kB / 0.5907 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.76e-05/0.1318, allocations: 8.875 kB / 0.5907 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.533e-05/0.1319, allocations: 164.4 kB / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-06/0.1319, allocations: 384 / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1319, allocations: 4.375 kB / 0.5909 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.896e-05/0.132, allocations: 61.56 kB / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-06/0.132, allocations: 0 / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.132, allocations: 0 / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.132, allocations: 0 / 0.5909 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.1321, allocations: 19.97 kB / 0.591 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.1323, allocations: 248.9 kB / 0.5912 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.1325, allocations: 54.56 kB / 0.5912 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.1325, allocations: 16.86 kB / 0.5913 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.1326, allocations: 0 / 0.5913 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.1326, allocations: 38.5 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1326, allocations: 0 / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001415/0.1327, allocations: 57.59 kB / 0.5914 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.1328, allocations: 55.39 kB / 0.5914 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.085e-05/0.1328, allocations: 93.86 kB / 0.5915 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1328, allocations: 29.7 kB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.1329, allocations: 92.08 kB / 0.5916 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.1329, allocations: 11.75 kB / 0.5916 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/0.1329, allocations: 13.7 kB / 0.5916 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.133, allocations: 322.8 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.133, allocations: 4 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.1331, allocations: 21.7 kB / 0.592 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.966e-05/0.1331, allocations: 33.72 kB / 0.592 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1331, allocations: 0 / 0.592 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.929e-05/0.1332, allocations: 57.62 kB / 0.5921 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.1332, allocations: 6.344 kB / 0.5921 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1332, allocations: 0 / 0.5921 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.1333, allocations: 0 / 0.5921 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.093e-05/0.1333, allocations: 8 kB / 0.5921 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1333, allocations: 0 / 0.5921 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.1333, allocations: 7.984 kB / 0.5921 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-06/0.1333, allocations: 8.031 kB / 0.5921 GB, free: 14.16 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 6.109e-05/0.1334, allocations: 117.7 kB / 0.5922 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1334, allocations: 3.906 kB / 0.5922 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1336, allocations: 57.19 kB / 0.5923 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1336, allocations: 0 / 0.5923 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1336, allocations: 0 / 0.5923 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1336, allocations: 480 / 0.5923 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1338, allocations: 157.6 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1338, allocations: 11.94 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.1338, allocations: 7.984 kB / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1338, allocations: 0 / 0.5924 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.483e-06/0.1338, allocations: 4 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1338, allocations: 0 / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1339, allocations: 4 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.134, allocations: 151.4 kB / 0.5926 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.134, allocations: 88.98 kB / 0.5927 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-06/0.134, allocations: 4.125 kB / 0.5927 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.581e-05/0.1341, allocations: 4 kB / 0.5927 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.1341, allocations: 7.984 kB / 0.5927 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.1341, allocations: 0 / 0.5927 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.647e-05/0.1341, allocations: 75.28 kB / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1341, allocations: 0 / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003022/0.1345, allocations: 24 kB / 0.5928 GB, free: 13.36 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.000371/0.1348, allocations: 0.7123 MB / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.739e-05/0.1349, allocations: 16 kB / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1349, allocations: 0 / 0.5935 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.1349, allocations: 19.92 kB / 0.5935 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.1352, allocations: 4 kB / 0.5935 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.1356, allocations: 178.3 kB / 0.5937 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.1358, allocations: 0.6731 MB / 0.5943 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.1358, allocations: 4 kB / 0.5943 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.1359, allocations: 11.42 kB / 0.5943 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.1359, allocations: 0 / 0.5943 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5278/0.6636, allocations: 1.186 MB / 0.5955 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/0.6639, allocations: 212.2 kB / 0.5957 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.322, allocations: 4 kB / 0.5957 GB, free: 10.37 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)