Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 103.1 kB / 15.98 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 195.4 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6429/0.6429, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.88 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3003, allocations: 76.17 MB / 0.556 GB, free: 36.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00264/0.3029, allocations: 2.069 MB / 0.558 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3047, allocations: 1.655 MB / 0.5597 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.3048, allocations: 1.469 kB / 0.5597 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.999e-05/0.3048, allocations: 12.44 kB / 0.5597 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.816e-05/0.3049, allocations: 46.22 kB / 0.5597 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.3057, allocations: 320.9 kB / 0.56 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.3059, allocations: 228.7 kB / 0.5602 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.306, allocations: 58.3 kB / 0.5603 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.3061, allocations: 83.73 kB / 0.5604 GB, free: 33.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.3063, allocations: 94.48 kB / 0.5605 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.3063, allocations: 18.62 kB / 0.5605 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000652/0.307, allocations: 408.8 kB / 0.5609 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.641e-05/0.307, allocations: 43.31 kB / 0.5609 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.053e-05/0.3071, allocations: 100.5 kB / 0.561 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.3076, allocations: 434.9 kB / 0.5614 GB, free: 33.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3076, allocations: 0.75 kB / 0.5614 GB, free: 33.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3076, allocations: 0 / 0.5614 GB, free: 33.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3076, allocations: 0 / 0.5614 GB, free: 33.04 MB / 446.1 MB 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.000703/0.3083, allocations: 0.5306 MB / 0.5619 GB, free: 32.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3084, allocations: 9.5 kB / 0.562 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.3084, allocations: 53.09 kB / 0.562 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.3095, allocations: 141.5 kB / 0.5621 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.072e-05/0.3096, allocations: 178.1 kB / 0.5623 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.207e-05/0.3097, allocations: 47.17 kB / 0.5624 GB, free: 32.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.3097, allocations: 20 kB / 0.5624 GB, free: 32.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.3103, allocations: 225.8 kB / 0.5626 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3103, allocations: 0 / 0.5626 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.3103, allocations: 8.062 kB / 0.5626 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3103, allocations: 4.531 kB / 0.5626 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.311, allocations: 232.7 kB / 0.5628 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.3122, allocations: 0.9708 MB / 0.5638 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.3127, allocations: 177.8 kB / 0.5639 GB, free: 31.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/0.313, allocations: 109 kB / 0.564 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/0.3135, allocations: 0.528 MB / 0.5646 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3135, allocations: 36.38 kB / 0.5646 GB, free: 30.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.3135, allocations: 0 / 0.5646 GB, free: 30.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001044/0.3146, allocations: 330.7 kB / 0.5649 GB, free: 30.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.3146, allocations: 56.06 kB / 0.565 GB, free: 30.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3147, allocations: 161.6 kB / 0.5651 GB, free: 30.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3147, allocations: 28.33 kB / 0.5651 GB, free: 30.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.3148, allocations: 118.7 kB / 0.5653 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.3149, allocations: 59.69 kB / 0.5653 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.239e-05/0.3149, allocations: 36.83 kB / 0.5653 GB, free: 30 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.761e-05/0.315, allocations: 331.3 kB / 0.5657 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.3153, allocations: 102.3 kB / 0.5658 GB, free: 29.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.3156, allocations: 126.1 kB / 0.5659 GB, free: 29.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.3162, allocations: 193.1 kB / 0.5661 GB, free: 29.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3162, allocations: 1.344 kB / 0.5661 GB, free: 29.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007024/0.3169, allocations: 277.4 kB / 0.5663 GB, free: 29.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.317, allocations: 5.438 kB / 0.5663 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.317, allocations: 1.094 kB / 0.5663 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.317, allocations: 5.062 kB / 0.5663 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.3173, allocations: 49.39 kB / 0.5664 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3174, allocations: 9 kB / 0.5664 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.3176, allocations: 35.02 kB / 0.5664 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.3177, allocations: 5.125 kB / 0.5664 GB, free: 29.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * 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 8.605e-05/0.3178, allocations: 130.9 kB / 0.5666 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.3178, allocations: 16.92 kB / 0.5666 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007513/0.3186, allocations: 267 kB / 0.5668 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3186, allocations: 7.438 kB / 0.5668 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3186, allocations: 0 / 0.5668 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3186, allocations: 3.031 kB / 0.5668 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.3201, allocations: 1.072 MB / 0.5679 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.3201, allocations: 1.5 kB / 0.5679 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.3204, allocations: 39.38 kB / 0.5679 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3204, allocations: 5.375 kB / 0.5679 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.3204, allocations: 6.953 kB / 0.5679 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3204, allocations: 3.062 kB / 0.5679 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3204, allocations: 1.5 kB / 0.5679 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.3211, allocations: 352.4 kB / 0.5683 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.3212, allocations: 88.91 kB / 0.5684 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.3212, allocations: 2.812 kB / 0.5684 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000311/0.3215, allocations: 29.23 kB / 0.5684 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.3216, allocations: 9.844 kB / 0.5684 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.3216, allocations: 17.55 kB / 0.5684 GB, free: 27.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.546e-05/0.3217, allocations: 118.7 kB / 0.5685 GB, free: 27.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3217, allocations: 0 / 0.5685 GB, free: 27.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.3222, allocations: 134.9 kB / 0.5687 GB, free: 27.73 MB / 446.1 MB 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 (16): * Single equations (assignments): 16 * 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.001129/0.3233, allocations: 0.9998 MB / 0.5696 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007042/0.324, allocations: 238.3 kB / 0.5699 GB, free: 26.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.324, allocations: 4.062 kB / 0.5699 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.3243, allocations: 110.5 kB / 0.57 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.3248, allocations: 51.47 kB / 0.57 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.329, allocations: 2.406 MB / 0.5724 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.3292, allocations: 0.7138 MB / 0.5731 GB, free: 24.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.3294, allocations: 31.38 kB / 0.5731 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3295, allocations: 43.19 kB / 0.5731 GB, free: 24.4 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3295, allocations: 1.125 kB / 0.5731 GB, free: 24.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.803/6.132, allocations: 6.202 MB / 0.5792 GB, free: 23.58 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/6.132, allocations: 221.8 kB / 0.5794 GB, free: 23.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/8.002, allocations: 0 / 0.5794 GB, free: 23.32 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)