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.001148/0.001148, 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.00128/0.00128, allocations: 165.9 kB / 22.46 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.8633/0.8633, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7215/0.7215, allocations: 154.6 MB / 413.7 MB, free: 0.7812 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.744e-06/1.744e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.186e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002207/0.002229, allocations: 1.983 MB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.003868, allocations: 1.519 MB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.00394, allocations: 4 kB / 0.6215 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 5.629e-05/0.003996, allocations: 19.78 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.793e-05/0.004084, allocations: 59.48 kB / 0.6216 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009329/0.005017, allocations: 366.5 kB / 0.6219 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.005368, allocations: 242.8 kB / 0.6222 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.005503, allocations: 37.78 kB / 0.6222 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.005613, allocations: 119.8 kB / 0.6223 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.005711, allocations: 79.78 kB / 0.6224 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.005737, allocations: 20 kB / 0.6224 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000616/0.006353, allocations: 415.3 kB / 0.6228 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.00639, allocations: 39.89 kB / 0.6229 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.006441, allocations: 67.88 kB / 0.6229 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.006925, allocations: 494.6 kB / 0.6234 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006928, allocations: 0 / 0.6234 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.873e-06/0.00693, allocations: 0 / 0.6234 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.006935, allocations: 0 / 0.6234 GB, free: 8.215 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.0006424/0.007577, allocations: 469.1 kB / 0.6238 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.00762, allocations: 8.031 kB / 0.6238 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.007665, allocations: 54.73 kB / 0.6239 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005301/0.008195, allocations: 140.7 kB / 0.624 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.008297, allocations: 121.6 kB / 0.6241 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.885e-05/0.008396, allocations: 75.95 kB / 0.6242 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.008423, allocations: 20.38 kB / 0.6242 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.008802, allocations: 281.8 kB / 0.6245 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.008812, allocations: 4.172 kB / 0.6245 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.008836, allocations: 8.375 kB / 0.6245 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.008845, allocations: 11.92 kB / 0.6245 GB, free: 6.949 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.009102, allocations: 159.9 kB / 0.6247 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.01011, allocations: 0.7209 MB / 0.6254 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.01053, allocations: 188.5 kB / 0.6256 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.01071, allocations: 108.8 kB / 0.6257 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.01097, allocations: 75.91 kB / 0.6257 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.01099, allocations: 38.5 kB / 0.6258 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=17): time 2.244e-06/0.01099, allocations: 0 / 0.6258 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=17): time 0.005214/0.01621, allocations: 1.391 MB / 0.6271 GB, free: 4.207 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.01624, allocations: 55.41 kB / 0.6272 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.01636, allocations: 161.2 kB / 0.6273 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/0.01639, allocations: 33.7 kB / 0.6274 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.01646, allocations: 116.4 kB / 0.6275 GB, free: 3.816 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.01649, allocations: 59.42 kB / 0.6275 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.01655, allocations: 37.7 kB / 0.6276 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.285e-05/0.01665, allocations: 330.8 kB / 0.6279 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.01684, allocations: 115.9 kB / 0.628 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.01702, allocations: 107.9 kB / 0.6281 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.01736, allocations: 215.9 kB / 0.6283 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01737, allocations: 0 / 0.6283 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.003197/0.02056, allocations: 0.8983 MB / 0.6292 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.02059, allocations: 4 kB / 0.6292 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.02059, allocations: 0 / 0.6292 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008354/0.02143, allocations: 352.2 kB / 0.6295 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.02162, allocations: 55.98 kB / 0.6296 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009249/0.02254, allocations: 0.8394 MB / 0.6304 GB, free: 0.7812 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.02269, allocations: 35.88 kB / 0.6304 GB, free: 0.7461 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.0227, allocations: 4 kB / 0.6304 GB, free: 0.7422 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 0.0001076/0.02281, allocations: 130.8 kB / 0.6306 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.02284, allocations: 11.91 kB / 0.6306 GB, free: 0.5938 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008668/0.02371, allocations: 446.2 kB / 0.631 GB, free: 156 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.02372, allocations: 8 kB / 0.631 GB, free: 148 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.02372, allocations: 0 / 0.631 GB, free: 148 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.02373, allocations: 0 / 0.631 GB, free: 148 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.02497, allocations: 0.8061 MB / 0.6318 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.02498, allocations: 8 kB / 0.6318 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.02513, allocations: 47.98 kB / 0.6319 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007408/0.02587, allocations: 359.6 kB / 0.6322 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.02589, allocations: 4 kB / 0.6322 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008294/0.02672, allocations: 0.8333 MB / 0.633 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02672, allocations: 3.938 kB / 0.633 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.02734, allocations: 476.3 kB / 0.6335 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.02737, allocations: 15.95 kB / 0.6335 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.02739, allocations: 0 / 0.6335 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.02754, allocations: 27.97 kB / 0.6335 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.02757, allocations: 19.91 kB / 0.6335 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.02758, allocations: 4 kB / 0.6335 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.435e-05/0.02765, allocations: 121.9 kB / 0.6337 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.02765, allocations: 0 / 0.6337 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003727/0.02803, allocations: 139.5 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.001138/0.02916, allocations: 1.128 MB / 0.6349 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.03018, allocations: 371.5 kB / 0.6352 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.03019, allocations: 0 / 0.6352 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.03087, allocations: 234.8 kB / 0.6355 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.03125, allocations: 58.62 kB / 0.6355 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007351/0.0386, allocations: 3.595 MB / 0.639 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.571e-05/0.03869, allocations: 98.55 kB / 0.6391 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.548e-05/0.03877, allocations: 21.36 kB / 0.6391 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.03883, allocations: 40.48 kB / 0.6392 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of SimCode: time 1.132e-06/0.03883, allocations: 0 / 0.6392 GB, free: 7.527 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.06268, allocations: 8.712 MB / 0.6477 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/7.951, allocations: 6.25 kB / 0.6477 GB, free: 15.04 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.726964317262173] Failed to read output from testmodel.py, exit status != 0: 8.042936457321048 8.057756906 8.048982039 Calling exit ...