Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_dev_IDEAS_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.004926/0.004926, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.001144/0.001144, allocations: 203.2 kB / 16.68 MB, free: 5.445 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8828/0.8828, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.389, allocations: 80.91 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002839/0.3919, allocations: 2.034 MB / 0.6661 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.3939, allocations: 1.67 MB / 0.6678 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.3939, allocations: 2.062 kB / 0.6678 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.809e-05/0.394, allocations: 17.36 kB / 0.6678 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.236e-05/0.3941, allocations: 49.8 kB / 0.6678 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007669/0.3949, allocations: 365.4 kB / 0.6682 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.3951, allocations: 224.7 kB / 0.6684 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.3952, allocations: 53.81 kB / 0.6684 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.651e-05/0.3953, allocations: 85.5 kB / 0.6685 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3954, allocations: 94.34 kB / 0.6686 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.3955, allocations: 18.97 kB / 0.6686 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000703/0.3962, allocations: 412.5 kB / 0.669 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.3962, allocations: 46.58 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.3963, allocations: 85.34 kB / 0.6692 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.3969, allocations: 443.5 kB / 0.6696 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3969, allocations: 3.984 kB / 0.6696 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3969, allocations: 1.125 kB / 0.6696 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.3969, allocations: 4 kB / 0.6696 GB, free: 3.16 MB / 0.4981 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.0007274/0.3976, allocations: 0.5284 MB / 0.6701 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3977, allocations: 9.219 kB / 0.6701 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.3977, allocations: 52.45 kB / 0.6702 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3988, allocations: 137 kB / 0.6703 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.564e-05/0.3989, allocations: 180.8 kB / 0.6705 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.399, allocations: 55.19 kB / 0.6705 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.399, allocations: 25.72 kB / 0.6705 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005441/0.3995, allocations: 211 kB / 0.6707 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3996, allocations: 3.938 kB / 0.6707 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.3996, allocations: 6.719 kB / 0.6707 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3996, allocations: 3.906 kB / 0.6708 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.4003, allocations: 234.2 kB / 0.671 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.4016, allocations: 0.9731 MB / 0.6719 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004672/0.4021, allocations: 183.5 kB / 0.6721 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/0.4024, allocations: 114.5 kB / 0.6722 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005079/0.4029, allocations: 0.5165 MB / 0.6727 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.4029, allocations: 35.94 kB / 0.6727 GB, free: 284 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.403, allocations: 0 / 0.6727 GB, free: 284 kB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001083/0.404, allocations: 339.9 kB / 0.6731 GB, free: 100 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.4041, allocations: 56.7 kB / 0.6731 GB, free: 32 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.4042, allocations: 154.5 kB / 0.6733 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.4043, allocations: 31.3 kB / 0.6733 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.4043, allocations: 122.2 kB / 0.6734 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.4044, allocations: 57.92 kB / 0.6735 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.4045, allocations: 39.86 kB / 0.6735 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.4046, allocations: 325.5 kB / 0.6738 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.405, allocations: 104.5 kB / 0.6739 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003866/0.4053, allocations: 125 kB / 0.674 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.406, allocations: 193.5 kB / 0.6742 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.406, allocations: 4 kB / 0.6742 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008223/0.4069, allocations: 277.4 kB / 0.6745 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4069, allocations: 9.688 kB / 0.6745 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4069, allocations: 0 / 0.6745 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4069, allocations: 5.344 kB / 0.6745 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.4073, allocations: 52.7 kB / 0.6746 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4073, allocations: 1.188 kB / 0.6746 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.4076, allocations: 41.78 kB / 0.6746 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.4076, allocations: 5.625 kB / 0.6746 GB, free: 14.92 MB / 0.5137 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.000118/0.4078, allocations: 131.5 kB / 0.6747 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.4078, allocations: 16.05 kB / 0.6747 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008245/0.4086, allocations: 271.2 kB / 0.675 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4087, allocations: 2.156 kB / 0.675 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4087, allocations: 0 / 0.675 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4087, allocations: 4.922 kB / 0.675 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001709/0.4104, allocations: 1.069 MB / 0.6761 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4104, allocations: 1.281 kB / 0.6761 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.4107, allocations: 45.25 kB / 0.6761 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4107, allocations: 2.375 kB / 0.6761 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.4108, allocations: 6.125 kB / 0.6761 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4108, allocations: 1.5 kB / 0.6761 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4108, allocations: 3.984 kB / 0.6761 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007818/0.4116, allocations: 347.8 kB / 0.6764 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.4116, allocations: 93.52 kB / 0.6765 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.4117, allocations: 5.562 kB / 0.6765 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/0.412, allocations: 22.12 kB / 0.6766 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.412, allocations: 14.39 kB / 0.6766 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.412, allocations: 7.922 kB / 0.6766 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.151e-05/0.4121, allocations: 125.6 kB / 0.6767 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4122, allocations: 0 / 0.6767 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004863/0.4126, allocations: 129.3 kB / 0.6768 GB, free: 13.04 MB / 0.5137 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.001312/0.414, allocations: 1.013 MB / 0.6778 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007474/0.4147, allocations: 231.4 kB / 0.678 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4147, allocations: 0 / 0.678 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.4151, allocations: 113.3 kB / 0.6781 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.4155, allocations: 50.22 kB / 0.6782 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/0.4202, allocations: 2.372 MB / 0.6805 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.4205, allocations: 0.7116 MB / 0.6812 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001766/0.4207, allocations: 34.17 kB / 0.6812 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.4208, allocations: 47.08 kB / 0.6813 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4208, allocations: 0 / 0.6813 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.4429, allocations: 6.334 MB / 0.6875 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.913, allocations: 10.52 kB / 0.6875 GB, free: 6.199 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)