Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection",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.001521/0.001521, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 193.1 kB / 16.53 MB, free: 6.672 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7364/0.7364, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 68.61 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3705, allocations: 80.19 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.002971/0.3735, allocations: 2.036 MB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.3744, allocations: 0.5635 MB / 0.5827 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.3745, allocations: 2.188 kB / 0.5827 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.626e-05/0.3746, allocations: 28.56 kB / 0.5828 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.906e-05/0.3746, allocations: 38.62 kB / 0.5828 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002302/0.3749, allocations: 83.52 kB / 0.5829 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.3751, allocations: 225.4 kB / 0.5831 GB, free: 2.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.3753, allocations: 120.1 kB / 0.5832 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3755, allocations: 88.38 kB / 0.5833 GB, free: 2.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3756, allocations: 99.69 kB / 0.5834 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.3756, allocations: 23.97 kB / 0.5834 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.507e-05/0.3757, allocations: 33.25 kB / 0.5835 GB, free: 2.359 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.31e-05/0.3758, allocations: 56.7 kB / 0.5835 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.429e-05/0.3759, allocations: 105.9 kB / 0.5836 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.3762, allocations: 269.9 kB / 0.5839 GB, free: 2.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3762, allocations: 0.8438 kB / 0.5839 GB, free: 2.133 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3762, allocations: 4 kB / 0.5839 GB, free: 2.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3762, allocations: 0 / 0.5839 GB, free: 2.129 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006602/0.3769, allocations: 0.5112 MB / 0.5844 GB, free: 1.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3769, allocations: 9.969 kB / 0.5844 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.373e-05/0.377, allocations: 56.66 kB / 0.5844 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.377, allocations: 26.03 kB / 0.5845 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.3773, allocations: 257.3 kB / 0.5847 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.3773, allocations: 15.66 kB / 0.5847 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.3774, allocations: 20.09 kB / 0.5847 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.3777, allocations: 218.4 kB / 0.5849 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3778, allocations: 0 / 0.5849 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.3778, allocations: 11.52 kB / 0.585 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3778, allocations: 7.344 kB / 0.585 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.3781, allocations: 140.2 kB / 0.5851 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008061/0.3789, allocations: 0.5923 MB / 0.5857 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003375/0.3793, allocations: 121.3 kB / 0.5858 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.3794, allocations: 49.92 kB / 0.5858 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.3794, allocations: 5.75 kB / 0.5858 GB, free: 0.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.3795, allocations: 40.94 kB / 0.5859 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3795, allocations: 0.875 kB / 0.5859 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004412/0.3799, allocations: 175.8 kB / 0.586 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.38, allocations: 134.5 kB / 0.5862 GB, free: 384 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3801, allocations: 210.5 kB / 0.5864 GB, free: 240 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3802, allocations: 33.08 kB / 0.5864 GB, free: 204 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.3802, allocations: 139.7 kB / 0.5865 GB, free: 80 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.3803, allocations: 31.56 kB / 0.5866 GB, free: 56 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.3803, allocations: 38.17 kB / 0.5866 GB, free: 28 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3805, allocations: 328.2 kB / 0.5869 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.3806, allocations: 50.97 kB / 0.587 GB, free: 15.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.3808, allocations: 90.02 kB / 0.5871 GB, free: 15.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.381, allocations: 88.94 kB / 0.5871 GB, free: 15.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.381, allocations: 4 kB / 0.5871 GB, free: 15.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003216/0.3813, allocations: 152 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3814, allocations: 8.25 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3814, allocations: 1 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3814, allocations: 1.594 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3815, allocations: 21.28 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3815, allocations: 0.7188 kB / 0.5873 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.3817, allocations: 36.61 kB / 0.5874 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3817, allocations: 8.016 kB / 0.5874 GB, free: 15.48 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: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001245/0.3818, allocations: 130.4 kB / 0.5875 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.3819, allocations: 21.3 kB / 0.5875 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.3823, allocations: 145.6 kB / 0.5876 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3823, allocations: 1.281 kB / 0.5876 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3823, allocations: 5.5 kB / 0.5877 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3823, allocations: 0.7031 kB / 0.5877 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.3826, allocations: 272.2 kB / 0.5879 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3826, allocations: 1.188 kB / 0.5879 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.3827, allocations: 22.06 kB / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.3827, allocations: 4.938 kB / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.3828, allocations: 2.609 kB / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3828, allocations: 1.25 kB / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3828, allocations: 480 / 0.5879 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003364/0.3831, allocations: 235.8 kB / 0.5882 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.3832, allocations: 94.95 kB / 0.5883 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.3832, allocations: 10.69 kB / 0.5883 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.3834, allocations: 18.48 kB / 0.5883 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.3835, allocations: 23.23 kB / 0.5883 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.3835, allocations: 4.297 kB / 0.5883 GB, free: 14.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.3836, allocations: 162.5 kB / 0.5885 GB, free: 14.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3837, allocations: 0 / 0.5885 GB, free: 14.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.3839, allocations: 41.41 kB / 0.5885 GB, free: 14.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (temPro.hysHig.y,temPro.hysLow.y,temPro.on.y,temPro.hysdTConEva.y) * Number of discrete states: 3 (temPro.hysdTConEva.y,temPro.hysLow.y,temPro.hysHig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0006167/0.3846, allocations: 0.7705 MB / 0.5893 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.3849, allocations: 118.3 kB / 0.5894 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3849, allocations: 0.5625 kB / 0.5894 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3851, allocations: 53.47 kB / 0.5894 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3854, allocations: 23.02 kB / 0.5894 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.3878, allocations: 1.989 MB / 0.5914 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3882, allocations: 0.7346 MB / 0.5921 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.3883, allocations: 20.09 kB / 0.5921 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.3884, allocations: 66.12 kB / 0.5922 GB, free: 11.57 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3884, allocations: 4 kB / 0.5922 GB, free: 11.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3938/0.7822, allocations: 3.927 MB / 0.596 GB, free: 10.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.262/9.044, allocations: 15.69 kB / 0.596 GB, free: 10.56 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_BaseClasses_Validation_TemperatureProtection.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)