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.000906/0.000906, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0009439/0.0009439, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.162/1.162, allocations: 177.1 MB / 203.8 MB, free: 5.656 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-545:108: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-545:116: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.8094/0.8094, allocations: 154.6 MB / 414.9 MB, free: 0.6641 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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.5203 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.673e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001548/0.001565, allocations: 1.32 MB / 0.5216 GB, free: 1.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007625/0.002328, allocations: 0.5574 MB / 0.5222 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.002356, allocations: 0 / 0.5222 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.002377, allocations: 0 / 0.5222 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.596e-05/0.002422, allocations: 12.42 kB / 0.5222 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.002874, allocations: 144.8 kB / 0.5223 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.196e-05/0.002936, allocations: 23.92 kB / 0.5223 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.002973, allocations: 0.875 kB / 0.5223 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.003006, allocations: 15.91 kB / 0.5224 GB, free: 496 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.003055, allocations: 8 kB / 0.5224 GB, free: 488 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.003069, allocations: 4.625 kB / 0.5224 GB, free: 484 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.00335, allocations: 268.5 kB / 0.5226 GB, free: 216 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.003363, allocations: 4 kB / 0.5226 GB, free: 212 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.003381, allocations: 4 kB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.003582, allocations: 160.2 kB / 0.5228 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003584, allocations: 0 / 0.5228 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.003584, allocations: 1.625 kB / 0.5228 GB, free: 48 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.003588, allocations: 4 kB / 0.5228 GB, free: 44 kB / 490.7 MB 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.0003376/0.003926, allocations: 380 kB / 0.5232 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.00396, allocations: 8.031 kB / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.032e-05/0.004, allocations: 10.83 kB / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.004088, allocations: 112.6 kB / 0.5233 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.004099, allocations: 384 / 0.5233 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.004109, allocations: 8.312 kB / 0.5233 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.004192, allocations: 35.02 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.004199, allocations: 192 / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.004209, allocations: 9.547 kB / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.004216, allocations: 384 / 0.5233 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.004248, allocations: 19.88 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.004509, allocations: 257 kB / 0.5236 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.004668, allocations: 51.11 kB / 0.5236 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.004696, allocations: 18 kB / 0.5237 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.004714, allocations: 4 kB / 0.5237 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.004734, allocations: 33.39 kB / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.004735, allocations: 0 / 0.5237 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.0001348/0.00487, allocations: 61.61 kB / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.004896, allocations: 51.41 kB / 0.5238 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.591e-05/0.004962, allocations: 159.6 kB / 0.524 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.00497, allocations: 29.64 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.005015, allocations: 134.8 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.005026, allocations: 19.89 kB / 0.5241 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.005053, allocations: 19.94 kB / 0.5241 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.005156, allocations: 496.1 kB / 0.5246 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.005168, allocations: 4.906 kB / 0.5246 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.005192, allocations: 23.36 kB / 0.5246 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.748e-05/0.005229, allocations: 36.5 kB / 0.5247 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005231, allocations: 0 / 0.5247 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.069e-05/0.005291, allocations: 58.88 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.005302, allocations: 4 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005307, allocations: 5.141 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.005321, allocations: 3.984 kB / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.424e-05/0.005365, allocations: 11.98 kB / 0.5248 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005369, allocations: 0.5625 kB / 0.5248 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.005384, allocations: 4 kB / 0.5248 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-06/0.005388, allocations: 2.812 kB / 0.5248 GB, free: 13.81 MB / 0.4948 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 6.262e-05/0.005451, allocations: 164.5 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.005467, allocations: 3.953 kB / 0.5249 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.967e-05/0.005566, allocations: 65.3 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.005568, allocations: 0 / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.005571, allocations: 0 / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.005574, allocations: 3.031 kB / 0.525 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.614e-05/0.005661, allocations: 116.6 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.005661, allocations: 0 / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.005679, allocations: 12 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-06/0.00568, allocations: 3.938 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.005687, allocations: 3.984 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.005689, allocations: 3.938 kB / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.00569, allocations: 0 / 0.5251 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.005778, allocations: 201.4 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-06/0.005784, allocations: 3.953 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.005794, allocations: 4.125 kB / 0.5253 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.563e-05/0.005819, allocations: 3.938 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.005834, allocations: 7.125 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.005839, allocations: 7.984 kB / 0.5253 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.005868, allocations: 123.2 kB / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005868, allocations: 0 / 0.5255 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001633/0.006032, allocations: 15.94 kB / 0.5255 GB, free: 13.02 MB / 0.4948 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.0001259/0.006157, allocations: 115.1 kB / 0.5256 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.956e-05/0.006237, allocations: 38.05 kB / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006239, allocations: 0 / 0.5256 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.006255, allocations: 19.67 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.006406, allocations: 4 kB / 0.5256 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000236/0.006642, allocations: 126.2 kB / 0.5258 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.268e-05/0.006674, allocations: 56.55 kB / 0.5258 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.006699, allocations: 9.859 kB / 0.5258 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.006717, allocations: 12.48 kB / 0.5258 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.006717, allocations: 0 / 0.5258 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.002011/0.008728, allocations: 0.5254 MB / 0.5264 GB, free: 12.09 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9585973180364817]