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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8299/0.8299, allocations: 133.9 MB / 443.5 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 68.23 kB / 0.6141 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1462, allocations: 85.86 MB / 0.6979 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00246/0.1487, allocations: 1.293 MB / 0.6992 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.1497, allocations: 0.5985 MB / 0.6998 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.1497, allocations: 0 / 0.6998 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.1497, allocations: 5.719 kB / 0.6998 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.1498, allocations: 4 kB / 0.6998 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.1503, allocations: 143.4 kB / 0.6999 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.284e-05/0.1504, allocations: 29.42 kB / 0.7 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.1504, allocations: 5.359 kB / 0.7 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.736e-05/0.1504, allocations: 5.5 kB / 0.7 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.1505, allocations: 12.06 kB / 0.7 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1505, allocations: 0 / 0.7 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.151, allocations: 338.4 kB / 0.7003 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.151, allocations: 13.36 kB / 0.7003 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.151, allocations: 6.688 kB / 0.7003 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1512, allocations: 143.6 kB / 0.7005 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1512, allocations: 0 / 0.7005 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1512, allocations: 0 / 0.7005 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.1513, allocations: 1.375 kB / 0.7005 GB, free: 11.66 MB / 0.5137 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.0004803/0.1517, allocations: 366.1 kB / 0.7008 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1518, allocations: 11.3 kB / 0.7008 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.509e-05/0.1518, allocations: 5.562 kB / 0.7008 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.342e-05/0.1518, allocations: 38.69 kB / 0.7009 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.132e-05/0.1518, allocations: 2.312 kB / 0.7009 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.152, allocations: 161.8 kB / 0.701 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.152, allocations: 1.75 kB / 0.701 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.152, allocations: 5.312 kB / 0.701 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1521, allocations: 40.56 kB / 0.7011 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1521, allocations: 1.375 kB / 0.7011 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.1521, allocations: 3.938 kB / 0.7011 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1521, allocations: 0 / 0.7011 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.88e-05/0.1522, allocations: 21.61 kB / 0.7011 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.1525, allocations: 265.2 kB / 0.7014 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1527, allocations: 44.42 kB / 0.7014 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.1528, allocations: 23.72 kB / 0.7014 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1528, allocations: 1.375 kB / 0.7014 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1528, allocations: 34.56 kB / 0.7015 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1528, allocations: 0 / 0.7015 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0001775/0.153, allocations: 60.88 kB / 0.7015 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.153, allocations: 51.41 kB / 0.7016 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.737e-05/0.1531, allocations: 102 kB / 0.7017 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.1531, allocations: 25.7 kB / 0.7017 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.1532, allocations: 85.47 kB / 0.7018 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.1532, allocations: 9.266 kB / 0.7018 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.1532, allocations: 29.73 kB / 0.7018 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1534, allocations: 320.1 kB / 0.7021 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.1534, allocations: 8.125 kB / 0.7021 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.1534, allocations: 20.59 kB / 0.7021 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.073e-05/0.1535, allocations: 32.64 kB / 0.7022 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1535, allocations: 0 / 0.7022 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001014/0.1536, allocations: 60.03 kB / 0.7022 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1536, allocations: 5.688 kB / 0.7022 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1536, allocations: 0 / 0.7022 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1536, allocations: 1.594 kB / 0.7022 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.1537, allocations: 10.5 kB / 0.7022 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1537, allocations: 1.125 kB / 0.7022 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.1537, allocations: 1.156 kB / 0.7022 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1537, allocations: 1.156 kB / 0.7022 GB, free: 9.781 MB / 0.5137 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 8.123e-05/0.1538, allocations: 116.8 kB / 0.7024 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.1538, allocations: 5.344 kB / 0.7024 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.1539, allocations: 63.72 kB / 0.7024 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.154, allocations: 1.625 kB / 0.7024 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.154, allocations: 3.938 kB / 0.7024 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.154, allocations: 0 / 0.7024 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1541, allocations: 163.7 kB / 0.7026 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1541, allocations: 0 / 0.7026 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.1542, allocations: 5.656 kB / 0.7026 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1542, allocations: 1.375 kB / 0.7026 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-06/0.1542, allocations: 0 / 0.7026 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1542, allocations: 7.984 kB / 0.7026 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1542, allocations: 1.844 kB / 0.7026 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.1543, allocations: 154.5 kB / 0.7027 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.1544, allocations: 77.95 kB / 0.7028 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1544, allocations: 0.9062 kB / 0.7028 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.1544, allocations: 0.7812 kB / 0.7028 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.626e-05/0.1544, allocations: 5.906 kB / 0.7028 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1544, allocations: 9.094 kB / 0.7028 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.472e-05/0.1545, allocations: 85.67 kB / 0.7029 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1545, allocations: 0 / 0.7029 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002404/0.1547, allocations: 26.06 kB / 0.7029 GB, free: 9.031 MB / 0.5137 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.0005135/0.1552, allocations: 0.6986 MB / 0.7036 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.1553, allocations: 30.8 kB / 0.7037 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1553, allocations: 0 / 0.7037 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.1554, allocations: 7.156 kB / 0.7037 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1556, allocations: 1.312 kB / 0.7037 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.156, allocations: 168.2 kB / 0.7038 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1563, allocations: 0.6811 MB / 0.7045 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.792e-05/0.1564, allocations: 6.812 kB / 0.7045 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.1564, allocations: 9.906 kB / 0.7045 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1564, allocations: 3.938 kB / 0.7045 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.1729, allocations: 1.443 MB / 0.7059 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.265, allocations: 10.47 kB / 0.7059 GB, free: 6.41 MB / 0.5137 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.951973611023277] Failed to read output from testmodel.py, exit status != 0: 8.659714162000455 8.415554047 8.259755068 Calling exit ...