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.0007811/0.0007811, 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.0007835/0.0007835, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8912/0.8912, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7426/0.7426, allocations: 154.6 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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="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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.235e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00168/0.001702, allocations: 1.299 MB / 0.6194 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007676/0.00247, allocations: 0.5175 MB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.002498, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.002516, allocations: 0 / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.002559, allocations: 3.938 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.003049, allocations: 153.9 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.003109, allocations: 19.86 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.003152, allocations: 4 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.529e-05/0.003187, allocations: 11.98 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.909e-05/0.003236, allocations: 7.984 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.003251, allocations: 4 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.003568, allocations: 275.4 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.003582, allocations: 0 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.003602, allocations: 4 kB / 0.6203 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.003798, allocations: 155.5 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.0038, allocations: 0 / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003801, allocations: 0 / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.003805, allocations: 0 / 0.6205 GB, free: 11.22 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.0003744/0.00418, allocations: 282 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.004224, allocations: 15.97 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.004254, allocations: 34.75 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.004278, allocations: 12.88 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.167e-05/0.00436, allocations: 109.7 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.00437, allocations: 4.375 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-06/0.004378, allocations: 384 / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.903e-05/0.004477, allocations: 42.25 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.004484, allocations: 192 / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.004494, allocations: 4.375 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.004505, allocations: 8.125 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.004544, allocations: 8 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.004823, allocations: 224 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.005006, allocations: 46.62 kB / 0.6212 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.005033, allocations: 20.83 kB / 0.6213 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.005053, allocations: 7.938 kB / 0.6213 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.005072, allocations: 34.5 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.005073, allocations: 0 / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001452/0.005218, allocations: 57.62 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.00525, allocations: 55.41 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.735e-05/0.005308, allocations: 97.86 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.005318, allocations: 25.7 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.005362, allocations: 96.06 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.287e-05/0.005375, allocations: 15.91 kB / 0.6216 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.005399, allocations: 13.72 kB / 0.6217 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.005487, allocations: 314.8 kB / 0.622 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.005505, allocations: 7.984 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.00553, allocations: 21.72 kB / 0.622 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.005569, allocations: 29.66 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005571, allocations: 0 / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.299e-05/0.005634, allocations: 57.62 kB / 0.6221 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.005646, allocations: 8 kB / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.005653, allocations: 8.016 kB / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.005664, allocations: 0 / 0.6221 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.288e-05/0.005697, allocations: 11.94 kB / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.005701, allocations: 0 / 0.6221 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.481e-05/0.005716, allocations: 3.938 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.005722, allocations: 7.938 kB / 0.6221 GB, free: 9.359 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.708e-05/0.005779, allocations: 110.8 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.005794, allocations: 11.89 kB / 0.6222 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.005899, allocations: 57.36 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.005903, allocations: 8 kB / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.005908, allocations: 0 / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.005911, allocations: 0 / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.006024, allocations: 124.8 kB / 0.6224 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006025, allocations: 3.938 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.996e-05/0.006045, allocations: 8.125 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.006048, allocations: 3.938 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.006057, allocations: 4 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006058, allocations: 0 / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.006059, allocations: 0 / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.704e-05/0.006146, allocations: 148 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.006155, allocations: 11.94 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.006165, allocations: 3.984 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.438e-05/0.00619, allocations: 0 / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.00621, allocations: 11.98 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.006212, allocations: 0 / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.542e-05/0.006237, allocations: 83.22 kB / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006237, allocations: 0 / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001762/0.006413, allocations: 15.94 kB / 0.6227 GB, free: 8.688 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.0003445/0.006758, allocations: 0.7044 MB / 0.6234 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.006848, allocations: 27.92 kB / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.006849, allocations: 0 / 0.6234 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.00686, allocations: 12 kB / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.007012, allocations: 4 kB / 0.6234 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.007359, allocations: 150.5 kB / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.007401, allocations: 57.88 kB / 0.6236 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.007426, allocations: 16.23 kB / 0.6236 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.007454, allocations: 12.5 kB / 0.6236 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.007454, allocations: 0 / 0.6236 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/0.02195, allocations: 2.029 MB / 0.6256 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.714, allocations: 15.75 kB / 0.6256 GB, free: 5.742 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.409393088892102] Failed to read output from testmodel.py, exit status != 0: 6.79209276009351 6.800478307 6.794725011 Calling exit ...