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.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.0007336/0.0007336, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008119/0.0008119, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8713/0.8713, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.696/0.696, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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 2.024e-06/2.024e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.04e-05, allocations: 4.688 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001548/0.001568, allocations: 1.301 MB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000751/0.002319, allocations: 0.5176 MB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.415e-05/0.002343, allocations: 0 / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.09e-05/0.002364, allocations: 7.938 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.002402, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.002803, allocations: 154.6 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.109e-05/0.002864, allocations: 23.86 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.00291, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.64e-05/0.002946, allocations: 8 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.003003, allocations: 7.984 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.003017, allocations: 0 / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.003311, allocations: 275.4 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.003326, allocations: 4 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.003347, allocations: 7.938 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.003544, allocations: 155.5 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003546, allocations: 0 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003547, allocations: 0 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.003552, allocations: 0 / 0.6204 GB, free: 11.27 MB / 0.5886 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.0006687/0.00422, allocations: 286 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.00426, allocations: 9.469 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.004293, allocations: 38.75 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.004314, allocations: 8.891 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.5e-05/0.004389, allocations: 105.7 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.004402, allocations: 8.375 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.004412, allocations: 4.359 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.514e-05/0.004507, allocations: 38.27 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.004514, allocations: 192 / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004521, allocations: 4.312 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.004527, allocations: 4.125 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.134e-05/0.004568, allocations: 19.98 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.004813, allocations: 216.1 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.004975, allocations: 46.56 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.005002, allocations: 20.84 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.005021, allocations: 4 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.00504, allocations: 42.44 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005041, allocations: 0 / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001473/0.005189, allocations: 57.67 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.005219, allocations: 55.41 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.981e-05/0.005268, allocations: 93.86 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.005277, allocations: 25.7 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.005316, allocations: 84.09 kB / 0.6216 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.005328, allocations: 23.88 kB / 0.6216 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.005354, allocations: 17.72 kB / 0.6216 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.005432, allocations: 314.8 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.005445, allocations: 4 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.669e-05/0.005472, allocations: 29.64 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.005508, allocations: 25.72 kB / 0.622 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.00551, allocations: 0 / 0.622 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.904e-05/0.00557, allocations: 61.56 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.005583, allocations: 10.12 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.00559, allocations: 8.031 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.005604, allocations: 0 / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.292e-05/0.005637, allocations: 15.98 kB / 0.6221 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.005642, allocations: 0 / 0.6221 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.402e-05/0.005656, allocations: 3.938 kB / 0.6221 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.005661, allocations: 4 kB / 0.6221 GB, free: 9.414 MB / 0.5886 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.069e-05/0.005712, allocations: 106.8 kB / 0.6222 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.005726, allocations: 7.891 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.873e-05/0.005824, allocations: 65.31 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.005827, allocations: 3.984 kB / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.005833, allocations: 8 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.005835, allocations: 0 / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.461e-05/0.00593, allocations: 120.9 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.005932, allocations: 4 kB / 0.6224 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.005949, allocations: 11.98 kB / 0.6224 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.005951, allocations: 3.938 kB / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.005957, allocations: 0 / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005957, allocations: 0 / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.005958, allocations: 0 / 0.6224 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.013e-05/0.006028, allocations: 148 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.006037, allocations: 19.92 kB / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.006045, allocations: 0 / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.006069, allocations: 0 / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.006081, allocations: 3.984 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.006083, allocations: 7.938 kB / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.042e-05/0.006103, allocations: 75.28 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006103, allocations: 4 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000154/0.006257, allocations: 19.94 kB / 0.6226 GB, free: 8.734 MB / 0.5886 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.000285/0.006542, allocations: 0.7006 MB / 0.6233 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.117e-05/0.006614, allocations: 23.94 kB / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.006615, allocations: 0 / 0.6233 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.006626, allocations: 11.98 kB / 0.6234 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.006769, allocations: 8 kB / 0.6234 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.007098, allocations: 146.4 kB / 0.6235 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.313e-05/0.007141, allocations: 59.34 kB / 0.6236 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.007167, allocations: 12.05 kB / 0.6236 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.007192, allocations: 16.5 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of SimCode: time 4.51e-07/0.007192, allocations: 0 / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.0223, allocations: 2.021 MB / 0.6256 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.184/7.207, allocations: 4.062 kB / 0.6256 GB, free: 5.801 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.92319963593036] Failed to read output from testmodel.py, exit status != 0: 7.286176736466587 7.298065667 7.2923204870000005 Calling exit ...