Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.0008528/0.0008528, 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.0008812/0.0008812, 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.8614/0.8614, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.6889/0.6889, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.514e-05, allocations: 6.844 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002132/0.002147, allocations: 1.98 MB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001627/0.003775, allocations: 1.523 MB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.003825, allocations: 0 / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.122e-05/0.003876, allocations: 23.78 kB / 0.6216 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.003954, allocations: 51.48 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007258/0.00468, allocations: 366.6 kB / 0.622 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.004983, allocations: 239 kB / 0.6222 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.005101, allocations: 41.72 kB / 0.6222 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.00521, allocations: 127.8 kB / 0.6223 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.005292, allocations: 67.84 kB / 0.6224 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.005316, allocations: 20 kB / 0.6224 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004908/0.005807, allocations: 415.3 kB / 0.6228 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.00584, allocations: 39.89 kB / 0.6229 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.815e-05/0.005888, allocations: 71.88 kB / 0.6229 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.006309, allocations: 490.6 kB / 0.6234 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.00631, allocations: 0 / 0.6234 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.41e-07/0.006311, allocations: 4 kB / 0.6234 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.006315, allocations: 0 / 0.6234 GB, free: 8.223 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005661/0.006881, allocations: 465.1 kB / 0.6238 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.006915, allocations: 15.97 kB / 0.6239 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.006955, allocations: 50.73 kB / 0.6239 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004924/0.007447, allocations: 136.7 kB / 0.624 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.952e-05/0.007527, allocations: 129.6 kB / 0.6242 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.007597, allocations: 75.95 kB / 0.6242 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.007621, allocations: 16.38 kB / 0.6242 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.00797, allocations: 277.9 kB / 0.6245 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.007979, allocations: 4.172 kB / 0.6245 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.007999, allocations: 12.31 kB / 0.6245 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.008006, allocations: 7.938 kB / 0.6245 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.008249, allocations: 159.9 kB / 0.6247 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009412/0.00919, allocations: 0.7248 MB / 0.6254 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.009584, allocations: 186.6 kB / 0.6256 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.009761, allocations: 104.8 kB / 0.6257 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.009976, allocations: 75.91 kB / 0.6257 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.009997, allocations: 42.44 kB / 0.6258 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.009998, allocations: 0 / 0.6258 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17): time 0.005006/0.015, allocations: 1.394 MB / 0.6271 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.01503, allocations: 63.34 kB / 0.6272 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.49e-05/0.01513, allocations: 157.2 kB / 0.6274 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.01515, allocations: 29.7 kB / 0.6274 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.0152, allocations: 116.4 kB / 0.6275 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.01524, allocations: 63.48 kB / 0.6276 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.0153, allocations: 37.7 kB / 0.6276 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.01537, allocations: 326.8 kB / 0.6279 GB, free: 3.391 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.01555, allocations: 111.9 kB / 0.628 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.01572, allocations: 111.9 kB / 0.6281 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.01606, allocations: 212 kB / 0.6283 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01606, allocations: 0 / 0.6283 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00317/0.01923, allocations: 0.8958 MB / 0.6292 GB, free: 2.059 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.01924, allocations: 4 kB / 0.6292 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01925, allocations: 0 / 0.6292 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007856/0.02004, allocations: 358.8 kB / 0.6295 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.02021, allocations: 51.92 kB / 0.6296 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008599/0.02107, allocations: 0.841 MB / 0.6304 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.02119, allocations: 27.88 kB / 0.6304 GB, free: 0.7617 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.02121, allocations: 8 kB / 0.6304 GB, free: 0.7539 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 8.966e-05/0.0213, allocations: 126.8 kB / 0.6306 GB, free: 0.6211 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.02132, allocations: 15.91 kB / 0.6306 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007894/0.02211, allocations: 446.2 kB / 0.631 GB, free: 168 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.02212, allocations: 0 / 0.631 GB, free: 168 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.02212, allocations: 0 / 0.631 GB, free: 168 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.02213, allocations: 4 kB / 0.631 GB, free: 164 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001164/0.02329, allocations: 0.8215 MB / 0.6318 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.02329, allocations: 0 / 0.6318 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.02344, allocations: 43.98 kB / 0.6319 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006952/0.02414, allocations: 355.6 kB / 0.6322 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.02415, allocations: 8 kB / 0.6322 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008341/0.02499, allocations: 0.8449 MB / 0.633 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02499, allocations: 0 / 0.633 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006317/0.02562, allocations: 478.7 kB / 0.6335 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.02564, allocations: 11.89 kB / 0.6335 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/0.02567, allocations: 8 kB / 0.6335 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.02581, allocations: 19.97 kB / 0.6335 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.02584, allocations: 11.98 kB / 0.6335 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.02586, allocations: 15.92 kB / 0.6336 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.02592, allocations: 121.9 kB / 0.6337 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02592, allocations: 0 / 0.6337 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003281/0.02625, allocations: 139.6 kB / 0.6338 GB, free: 13.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.02736, allocations: 1.128 MB / 0.6349 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.02837, allocations: 359.6 kB / 0.6352 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02837, allocations: 4 kB / 0.6352 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006926/0.02906, allocations: 239.8 kB / 0.6355 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.02937, allocations: 46.28 kB / 0.6355 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00696/0.03633, allocations: 3.601 MB / 0.639 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.356e-05/0.03639, allocations: 98.55 kB / 0.6391 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.323e-05/0.03646, allocations: 25.34 kB / 0.6392 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.03651, allocations: 40.48 kB / 0.6392 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/0.03651, allocations: 0 / 0.6392 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.05503, allocations: 8.712 MB / 0.6477 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/7.733, allocations: 0 / 0.6477 GB, free: 15.06 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.285597461275756] Failed to read output from testmodel.py, exit status != 0: 7.82335217949003 7.83484677 7.826896755 Calling exit ...