Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",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.008279/0.008279, allocations: 99.86 kB / 15.73 MB, free: 6.062 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.002093/0.002093, allocations: 192.8 kB / 16.67 MB, free: 5.973 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 275.1 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8765/0.8765, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 99.83 kB / 0.681 GB, free: 7.465 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3834, allocations: 86.97 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.002824/0.3862, allocations: 2.008 MB / 0.7679 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002215/0.3885, allocations: 1.671 MB / 0.7695 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.068e-05/0.3885, allocations: 4 kB / 0.7695 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.513e-05/0.3886, allocations: 15.8 kB / 0.7695 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3887, allocations: 55.55 kB / 0.7696 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009231/0.3897, allocations: 358.8 kB / 0.7699 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002113/0.3899, allocations: 227.1 kB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.39, allocations: 63.97 kB / 0.7702 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.751e-05/0.3902, allocations: 87.77 kB / 0.7703 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.3903, allocations: 91.66 kB / 0.7704 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.3903, allocations: 20 kB / 0.7704 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006655/0.391, allocations: 411.5 kB / 0.7708 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.3911, allocations: 43.84 kB / 0.7708 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.3911, allocations: 95.64 kB / 0.7709 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.3917, allocations: 432 kB / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3917, allocations: 4 kB / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3917, allocations: 0 / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.3917, allocations: 0 / 0.7713 GB, free: 14.29 MB / 0.545 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.0007778/0.3925, allocations: 0.5217 MB / 0.7718 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3925, allocations: 16.02 kB / 0.7718 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.43e-05/0.3926, allocations: 50.75 kB / 0.7719 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.3937, allocations: 136.6 kB / 0.772 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3938, allocations: 188.1 kB / 0.7722 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.649e-05/0.3939, allocations: 61.94 kB / 0.7723 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.394, allocations: 12.38 kB / 0.7723 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.3945, allocations: 218.9 kB / 0.7725 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3945, allocations: 4 kB / 0.7725 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.3946, allocations: 8 kB / 0.7725 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3946, allocations: 7.984 kB / 0.7725 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/0.3953, allocations: 235.8 kB / 0.7727 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.3966, allocations: 0.9703 MB / 0.7737 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004494/0.397, allocations: 178.6 kB / 0.7738 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.3974, allocations: 108.8 kB / 0.7739 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/0.398, allocations: 0.522 MB / 0.7745 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.398, allocations: 34.56 kB / 0.7745 GB, free: 10.67 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.442e-06/0.398, allocations: 0 / 0.7745 GB, free: 10.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0011/0.3991, allocations: 341 kB / 0.7748 GB, free: 10.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.3992, allocations: 51.41 kB / 0.7749 GB, free: 10.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3993, allocations: 157.3 kB / 0.775 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3993, allocations: 29.7 kB / 0.775 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.3994, allocations: 116.3 kB / 0.7751 GB, free: 9.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.3994, allocations: 63.45 kB / 0.7752 GB, free: 9.891 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.3995, allocations: 45.7 kB / 0.7753 GB, free: 9.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.3996, allocations: 330.8 kB / 0.7756 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.4, allocations: 95.94 kB / 0.7757 GB, free: 9.414 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.4003, allocations: 124.7 kB / 0.7758 GB, free: 9.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.401, allocations: 197.6 kB / 0.776 GB, free: 9.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.401, allocations: 0 / 0.776 GB, free: 9.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007539/0.4017, allocations: 275.7 kB / 0.7762 GB, free: 8.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.4018, allocations: 7.938 kB / 0.7762 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.4018, allocations: 4 kB / 0.7762 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4018, allocations: 3.938 kB / 0.7762 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.4021, allocations: 51.95 kB / 0.7763 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4022, allocations: 3.984 kB / 0.7763 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.4024, allocations: 31.88 kB / 0.7763 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.4025, allocations: 7.984 kB / 0.7763 GB, free: 8.707 MB / 0.545 GB 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 0.0001041/0.4026, allocations: 128.2 kB / 0.7765 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.004e-05/0.4026, allocations: 23.91 kB / 0.7765 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007743/0.4034, allocations: 254.7 kB / 0.7767 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4034, allocations: 7.938 kB / 0.7767 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4034, allocations: 0 / 0.7767 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4034, allocations: 0 / 0.7767 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.4051, allocations: 1.081 MB / 0.7778 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4051, allocations: 7.922 kB / 0.7778 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.4054, allocations: 43.97 kB / 0.7778 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.4054, allocations: 4 kB / 0.7778 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4054, allocations: 0 / 0.7778 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4055, allocations: 4 kB / 0.7778 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4055, allocations: 0 / 0.7778 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.4062, allocations: 356.9 kB / 0.7782 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.4063, allocations: 93 kB / 0.7783 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.496e-05/0.4063, allocations: 0 / 0.7783 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000317/0.4066, allocations: 31.97 kB / 0.7783 GB, free: 6.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.4067, allocations: 11.98 kB / 0.7783 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.4067, allocations: 4 kB / 0.7783 GB, free: 6.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.13e-05/0.4068, allocations: 125.3 kB / 0.7784 GB, free: 6.344 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4068, allocations: 0 / 0.7784 GB, free: 6.344 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004339/0.4072, allocations: 131.6 kB / 0.7786 GB, free: 6.215 MB / 0.545 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 (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.001262/0.4085, allocations: 1.01 MB / 0.7796 GB, free: 5.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007254/0.4092, allocations: 235.8 kB / 0.7798 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4092, allocations: 0 / 0.7798 GB, free: 4.945 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003411/0.4096, allocations: 118.2 kB / 0.7799 GB, free: 4.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.41, allocations: 39.91 kB / 0.7799 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.4141, allocations: 2.329 MB / 0.7822 GB, free: 2.367 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.4143, allocations: 0.7125 MB / 0.7829 GB, free: 1.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.4145, allocations: 28.92 kB / 0.7829 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.4146, allocations: 43.42 kB / 0.783 GB, free: 1.562 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.4146, allocations: 0 / 0.783 GB, free: 1.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02295/0.4376, allocations: 6.39 MB / 0.7892 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.21/7.647, allocations: 4.844 kB / 0.7892 GB, free: 11.4 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1)