Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001432/0.001432, allocations: 115.3 kB / 17.13 MB, free: 5.754 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.001443/0.001443, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.46/1.46, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8612/0.8612, allocations: 129.2 MB / 432.5 MB, free: 13.1 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 71.88 kB / 0.5987 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3979, allocations: 83.44 MB / 0.6802 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002267/0.4002, allocations: 1.284 MB / 0.6814 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009893/0.4012, allocations: 0.5966 MB / 0.682 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.4012, allocations: 0 / 0.682 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.4012, allocations: 3.938 kB / 0.682 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.203e-05/0.4013, allocations: 5.25 kB / 0.682 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007376/0.402, allocations: 139.9 kB / 0.6822 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.4021, allocations: 25.33 kB / 0.6822 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.149e-05/0.4021, allocations: 5.031 kB / 0.6822 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.441e-05/0.4022, allocations: 8.938 kB / 0.6822 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.4022, allocations: 11.8 kB / 0.6822 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.4023, allocations: 4.75 kB / 0.6822 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005477/0.4028, allocations: 345.5 kB / 0.6825 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.4028, allocations: 1.125 kB / 0.6825 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.4029, allocations: 7.812 kB / 0.6825 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.4032, allocations: 142.1 kB / 0.6827 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4032, allocations: 0.9688 kB / 0.6827 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4032, allocations: 0 / 0.6827 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4032, allocations: 7.938 kB / 0.6827 GB, free: 4.059 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.0004168/0.4036, allocations: 358.5 kB / 0.683 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4036, allocations: 13.94 kB / 0.683 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.4037, allocations: 43.8 kB / 0.6831 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.4037, allocations: 6.016 kB / 0.6831 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.4038, allocations: 161.4 kB / 0.6832 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.4038, allocations: 1.594 kB / 0.6832 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4038, allocations: 5.344 kB / 0.6833 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.404, allocations: 45.56 kB / 0.6833 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.404, allocations: 0 / 0.6833 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.404, allocations: 0 / 0.6833 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.404, allocations: 1.281 kB / 0.6833 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.404, allocations: 20.73 kB / 0.6833 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.4043, allocations: 253.1 kB / 0.6836 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.4045, allocations: 40.41 kB / 0.6836 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.4046, allocations: 20.42 kB / 0.6836 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.4046, allocations: 0 / 0.6836 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.4046, allocations: 31.66 kB / 0.6836 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.4046, allocations: 0 / 0.6836 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000167/0.4048, allocations: 63.92 kB / 0.6837 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.4048, allocations: 52.84 kB / 0.6838 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.4048, allocations: 101.6 kB / 0.6839 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.4048, allocations: 29.7 kB / 0.6839 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.4049, allocations: 85.23 kB / 0.684 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.298e-06/0.4049, allocations: 9.438 kB / 0.684 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.4049, allocations: 21.92 kB / 0.684 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.405, allocations: 315.8 kB / 0.6843 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.405, allocations: 8.312 kB / 0.6843 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.67e-05/0.405, allocations: 24.08 kB / 0.6843 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.4051, allocations: 32.38 kB / 0.6844 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4051, allocations: 1.406 kB / 0.6844 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001209/0.4052, allocations: 59.31 kB / 0.6844 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.4052, allocations: 5.344 kB / 0.6844 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4052, allocations: 5.188 kB / 0.6844 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.4052, allocations: 0 / 0.6844 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.4053, allocations: 7.891 kB / 0.6844 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4053, allocations: 3.984 kB / 0.6844 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.4053, allocations: 9.344 kB / 0.6844 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.4053, allocations: 6.594 kB / 0.6845 GB, free: 2.184 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 4.777e-05/0.4054, allocations: 115 kB / 0.6846 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.4054, allocations: 2.156 kB / 0.6846 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.4055, allocations: 63.3 kB / 0.6846 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4055, allocations: 1.406 kB / 0.6846 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4056, allocations: 0 / 0.6846 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4056, allocations: 9.203 kB / 0.6846 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.4057, allocations: 158.8 kB / 0.6848 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4057, allocations: 8.125 kB / 0.6848 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.4057, allocations: 5.312 kB / 0.6848 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4057, allocations: 1.281 kB / 0.6848 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.4057, allocations: 0 / 0.6848 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4057, allocations: 1.219 kB / 0.6848 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4057, allocations: 0 / 0.6848 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.868e-05/0.4058, allocations: 147.4 kB / 0.6849 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.4058, allocations: 86.44 kB / 0.685 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.4058, allocations: 4 kB / 0.685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.4059, allocations: 1.125 kB / 0.685 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.4059, allocations: 13.27 kB / 0.685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.4059, allocations: 1.406 kB / 0.685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.956e-05/0.4059, allocations: 78.03 kB / 0.6851 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.4059, allocations: 0 / 0.6851 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002429/0.4062, allocations: 18.31 kB / 0.6851 GB, free: 1.453 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.0003174/0.4065, allocations: 0.7102 MB / 0.6858 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.4066, allocations: 26 kB / 0.6859 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4066, allocations: 0 / 0.6859 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.4066, allocations: 11.45 kB / 0.6859 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.4068, allocations: 2.156 kB / 0.6859 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000476/0.4073, allocations: 163.5 kB / 0.686 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.4075, allocations: 0.6774 MB / 0.6867 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.4075, allocations: 2.594 kB / 0.6867 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.4075, allocations: 13.64 kB / 0.6867 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.4075, allocations: 0 / 0.6867 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.4351, allocations: 1.404 MB / 0.6881 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/8.747, allocations: 6.75 kB / 0.6881 GB, free: 15.1 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.178594053257257] Failed to read output from testmodel.py, exit status != 0: 8.814082809723914 8.828728294 8.422447793 Calling exit ...