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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 108.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.086/1.086, allocations: 175.8 MB / 478.4 MB, free: 8.477 MB / 382.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 68.8 kB / 0.6652 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2256, allocations: 94.54 MB / 0.7575 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002835/0.2285, allocations: 1.288 MB / 0.7588 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.2296, allocations: 0.5877 MB / 0.7594 GB, free: 36 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.2297, allocations: 0 / 0.7594 GB, free: 36 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.2297, allocations: 3.938 kB / 0.7594 GB, free: 32 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.2297, allocations: 3.984 kB / 0.7594 GB, free: 28 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.4751/0.7048, allocations: 136.1 kB / 0.7595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.7049, allocations: 17.75 kB / 0.7595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.156e-05/0.705, allocations: 6.266 kB / 0.7595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.705, allocations: 8.562 kB / 0.7595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.7051, allocations: 12.16 kB / 0.7595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.7051, allocations: 1.688 kB / 0.7595 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007073/0.7059, allocations: 343.8 kB / 0.7599 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.7059, allocations: 5.297 kB / 0.7599 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.7059, allocations: 10.16 kB / 0.7599 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.7062, allocations: 151 kB / 0.76 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7062, allocations: 1.641 kB / 0.76 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.614e-06/0.7062, allocations: 0 / 0.76 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.7062, allocations: 1.469 kB / 0.76 GB, free: 7.977 MB / 0.5762 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.0004294/0.7067, allocations: 361.6 kB / 0.7604 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.7067, allocations: 9.906 kB / 0.7604 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.005e-05/0.7068, allocations: 38.47 kB / 0.7604 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.7068, allocations: 2.828 kB / 0.7604 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.704e-05/0.7069, allocations: 163.3 kB / 0.7606 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.7069, allocations: 3.031 kB / 0.7606 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.7069, allocations: 2.344 kB / 0.7606 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.707, allocations: 47.75 kB / 0.7606 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.707, allocations: 1.281 kB / 0.7606 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.707, allocations: 2.812 kB / 0.7606 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.707, allocations: 0.9688 kB / 0.7606 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.261e-05/0.7071, allocations: 20.25 kB / 0.7606 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.7074, allocations: 252 kB / 0.7609 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.7076, allocations: 43.2 kB / 0.7609 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.638e-05/0.7077, allocations: 17.89 kB / 0.7609 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.7077, allocations: 5.406 kB / 0.761 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.7077, allocations: 32.36 kB / 0.761 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.7077, allocations: 4.656 kB / 0.761 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001876/0.7079, allocations: 57.39 kB / 0.761 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.7079, allocations: 53.41 kB / 0.7611 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.708, allocations: 102.5 kB / 0.7612 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.708, allocations: 27.73 kB / 0.7612 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.708, allocations: 81.88 kB / 0.7613 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.708, allocations: 13.53 kB / 0.7613 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.7081, allocations: 20.66 kB / 0.7613 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.7081, allocations: 318.7 kB / 0.7616 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.7081, allocations: 10.25 kB / 0.7616 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.7082, allocations: 23.44 kB / 0.7617 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.281e-05/0.7082, allocations: 32.88 kB / 0.7617 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7082, allocations: 3.844 kB / 0.7617 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.262e-05/0.7083, allocations: 61.67 kB / 0.7618 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7083, allocations: 5.031 kB / 0.7618 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7083, allocations: 2.109 kB / 0.7618 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.7084, allocations: 0.625 kB / 0.7618 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.979e-05/0.7084, allocations: 8.484 kB / 0.7618 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.7084, allocations: 1.156 kB / 0.7618 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.7084, allocations: 2.812 kB / 0.7618 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.7085, allocations: 2.625 kB / 0.7618 GB, free: 6.273 MB / 0.5762 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 5.562e-05/0.7085, allocations: 121.8 kB / 0.7619 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.7085, allocations: 8.156 kB / 0.7619 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.7087, allocations: 62.05 kB / 0.762 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.7087, allocations: 0.5 kB / 0.762 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.7087, allocations: 1.656 kB / 0.762 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7087, allocations: 0.6562 kB / 0.762 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.7088, allocations: 167.4 kB / 0.7621 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7088, allocations: 0.6094 kB / 0.7621 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.7089, allocations: 5.875 kB / 0.7621 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.7089, allocations: 0 / 0.7621 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.7089, allocations: 5.953 kB / 0.7621 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.7089, allocations: 3.969 kB / 0.7621 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.7089, allocations: 0.9688 kB / 0.7621 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.709, allocations: 152.9 kB / 0.7623 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.709, allocations: 79.31 kB / 0.7624 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.709, allocations: 1.609 kB / 0.7624 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.038e-05/0.7091, allocations: 1.031 kB / 0.7624 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.7091, allocations: 2.328 kB / 0.7624 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.7091, allocations: 7.375 kB / 0.7624 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.467e-05/0.7091, allocations: 81.86 kB / 0.7625 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7091, allocations: 0 / 0.7625 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002666/0.7094, allocations: 18.52 kB / 0.7625 GB, free: 5.602 MB / 0.5762 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.000407/0.7098, allocations: 0.7054 MB / 0.7632 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.7099, allocations: 29.39 kB / 0.7632 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7099, allocations: 0 / 0.7632 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.7099, allocations: 11.84 kB / 0.7632 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.7101, allocations: 4.906 kB / 0.7632 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.7106, allocations: 161.7 kB / 0.7634 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.7109, allocations: 0.6801 MB / 0.764 GB, free: 20.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.271e-05/0.711, allocations: 8.109 kB / 0.764 GB, free: 20.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.711, allocations: 10.19 kB / 0.764 GB, free: 20.06 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.711, allocations: 0 / 0.764 GB, free: 20.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.7364, allocations: 1.409 MB / 0.7654 GB, free: 19.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.181/8.917, allocations: 10.08 kB / 0.7654 GB, free: 19.71 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.930807924829423] Failed to read output from testmodel.py, exit status != 0: 8.984998126048595 8.998567509 8.289631718 Calling exit ...