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.004289/0.004289, allocations: 100.1 kB / 15.73 MB, free: 6.004 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.001083/0.001082, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.268/1.268, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7796/0.7796, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 60.81 kB / 0.5808 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1378, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002636/0.1405, allocations: 1.275 MB / 0.6604 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1416, allocations: 0.5997 MB / 0.661 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.1417, allocations: 4 kB / 0.661 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.1417, allocations: 3.938 kB / 0.661 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.402e-05/0.1418, allocations: 3.984 kB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.1424, allocations: 139.4 kB / 0.6612 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.1425, allocations: 23.86 kB / 0.6612 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.444e-05/0.1426, allocations: 7.984 kB / 0.6612 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.736e-05/0.1426, allocations: 7.938 kB / 0.6612 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.1427, allocations: 4 kB / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1427, allocations: 0 / 0.6612 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005433/0.1432, allocations: 347.3 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.1433, allocations: 11.92 kB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.1433, allocations: 4 kB / 0.6615 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.1436, allocations: 143.4 kB / 0.6617 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1436, allocations: 0 / 0.6617 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1436, allocations: 0 / 0.6617 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.1436, allocations: 0 / 0.6617 GB, free: 8.211 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.0004266/0.1441, allocations: 359.4 kB / 0.662 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1441, allocations: 15.97 kB / 0.662 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.1442, allocations: 30.75 kB / 0.6621 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.1442, allocations: 4.844 kB / 0.6621 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1443, allocations: 164.4 kB / 0.6622 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1443, allocations: 12.31 kB / 0.6622 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.1443, allocations: 4.125 kB / 0.6622 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1445, allocations: 41.69 kB / 0.6623 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1445, allocations: 3.984 kB / 0.6623 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1445, allocations: 0 / 0.6623 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1445, allocations: 0 / 0.6623 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.874e-05/0.1445, allocations: 23.92 kB / 0.6623 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.1449, allocations: 252.9 kB / 0.6626 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1451, allocations: 50.69 kB / 0.6626 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.1451, allocations: 20.84 kB / 0.6626 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1451, allocations: 0 / 0.6626 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.1452, allocations: 30.56 kB / 0.6627 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1452, allocations: 0 / 0.6627 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001682/0.1454, allocations: 61.62 kB / 0.6627 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.1454, allocations: 55.41 kB / 0.6628 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.517e-05/0.1455, allocations: 105.7 kB / 0.6629 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1455, allocations: 29.69 kB / 0.6629 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.1455, allocations: 84.05 kB / 0.663 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.1455, allocations: 11.81 kB / 0.663 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1456, allocations: 17.72 kB / 0.663 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1457, allocations: 322.8 kB / 0.6633 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.1457, allocations: 4 kB / 0.6633 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.1458, allocations: 21.72 kB / 0.6633 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.967e-05/0.1458, allocations: 33.64 kB / 0.6634 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1458, allocations: 0 / 0.6634 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.953e-05/0.1459, allocations: 57.69 kB / 0.6634 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1459, allocations: 4 kB / 0.6634 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1459, allocations: 0 / 0.6634 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.146, allocations: 7.938 kB / 0.6634 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.45e-05/0.146, allocations: 8.031 kB / 0.6634 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.146, allocations: 4 kB / 0.6634 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.1461, allocations: 0 / 0.6634 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.1461, allocations: 0 / 0.6634 GB, free: 6.164 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.593e-05/0.1461, allocations: 118.7 kB / 0.6636 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.1462, allocations: 0 / 0.6636 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.1463, allocations: 65.53 kB / 0.6636 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1463, allocations: 4.062 kB / 0.6636 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1463, allocations: 8 kB / 0.6636 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1464, allocations: 48 / 0.6636 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1465, allocations: 173.4 kB / 0.6638 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1465, allocations: 0 / 0.6638 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.1466, allocations: 4 kB / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1466, allocations: 0 / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1466, allocations: 4 kB / 0.6638 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1466, allocations: 7.969 kB / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1466, allocations: 0 / 0.6638 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.1467, allocations: 155.5 kB / 0.664 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.1468, allocations: 77.11 kB / 0.664 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.1468, allocations: 0 / 0.664 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.1468, allocations: 4 kB / 0.664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1469, allocations: 4 kB / 0.664 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1469, allocations: 3.938 kB / 0.664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.1469, allocations: 83.27 kB / 0.6641 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1469, allocations: 0 / 0.6641 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000239/0.1471, allocations: 16 kB / 0.6641 GB, free: 5.344 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.0004145/0.1476, allocations: 0.7085 MB / 0.6648 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.156e-05/0.1477, allocations: 23.92 kB / 0.6649 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1477, allocations: 4 kB / 0.6649 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.681e-05/0.1477, allocations: 4 kB / 0.6649 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.1479, allocations: 11.95 kB / 0.6649 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.1483, allocations: 172.1 kB / 0.665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.1486, allocations: 0.6768 MB / 0.6657 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.1486, allocations: 3.938 kB / 0.6657 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.1486, allocations: 15.44 kB / 0.6657 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1486, allocations: 0 / 0.6657 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.1649, allocations: 1.384 MB / 0.6671 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.282/7.447, allocations: 5.141 kB / 0.6671 GB, free: 2.387 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)