Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.001135/0.001135, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008963/0.0008963, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8982/0.8982, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.692/1.692, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.358e-06/1.069e-05, allocations: 2.281 kB / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002075/0.002086, allocations: 2.004 MB / 0.9829 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.003673, allocations: 1.518 MB / 0.9844 GB, free: 15.06 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.003731, allocations: 4 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 5.155e-05/0.003783, allocations: 19.78 kB / 0.9844 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.915e-05/0.003862, allocations: 51.55 kB / 0.9845 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008967/0.004759, allocations: 378.4 kB / 0.9848 GB, free: 14.61 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.004943, allocations: 227 kB / 0.985 GB, free: 14.39 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.005055, allocations: 25.67 kB / 0.9851 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.005164, allocations: 127.8 kB / 0.9852 GB, free: 14.24 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.714e-05/0.005261, allocations: 67.84 kB / 0.9853 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.005285, allocations: 16 kB / 0.9853 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006379/0.005923, allocations: 419.3 kB / 0.9857 GB, free: 13.75 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.005958, allocations: 43.89 kB / 0.9857 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.006012, allocations: 67.83 kB / 0.9858 GB, free: 13.64 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.006466, allocations: 494.6 kB / 0.9862 GB, free: 13.15 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.006468, allocations: 0 / 0.9862 GB, free: 13.15 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.81e-07/0.006468, allocations: 0 / 0.9862 GB, free: 13.15 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.006472, allocations: 0 / 0.9862 GB, free: 13.15 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005565/0.007029, allocations: 457.2 kB / 0.9867 GB, free: 12.67 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.007062, allocations: 12.02 kB / 0.9867 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.007102, allocations: 46.75 kB / 0.9867 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/0.0074, allocations: 92.73 kB / 0.9868 GB, free: 12.52 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.007481, allocations: 125.6 kB / 0.9869 GB, free: 12.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/0.007552, allocations: 67.97 kB / 0.987 GB, free: 12.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.007578, allocations: 16.38 kB / 0.987 GB, free: 12.27 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.007858, allocations: 238.1 kB / 0.9873 GB, free: 12.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.007866, allocations: 192 / 0.9873 GB, free: 12.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.007884, allocations: 8.375 kB / 0.9873 GB, free: 12.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.00789, allocations: 15.88 kB / 0.9873 GB, free: 12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.008069, allocations: 136.6 kB / 0.9874 GB, free: 11.87 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008718/0.008941, allocations: 0.6335 MB / 0.988 GB, free: 11.19 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009297/0.00987, allocations: 326.3 kB / 0.9883 GB, free: 10.86 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.009987, allocations: 84.69 kB / 0.9884 GB, free: 10.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/0.0102, allocations: 72.2 kB / 0.9885 GB, free: 10.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.01022, allocations: 38.5 kB / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.01022, allocations: 0 / 0.9885 GB, free: 10.66 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0008825/0.0111, allocations: 389.4 kB / 0.9889 GB, free: 10.28 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.01113, allocations: 55.41 kB / 0.9889 GB, free: 10.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.01123, allocations: 160.4 kB / 0.9891 GB, free: 10.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.01125, allocations: 29.7 kB / 0.9891 GB, free: 10.01 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/0.0113, allocations: 119.9 kB / 0.9892 GB, free: 9.891 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.01133, allocations: 43.61 kB / 0.9893 GB, free: 9.848 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.01138, allocations: 45.69 kB / 0.9893 GB, free: 9.797 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.01145, allocations: 326.8 kB / 0.9896 GB, free: 9.469 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.01158, allocations: 79.95 kB / 0.9897 GB, free: 9.391 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.01169, allocations: 83.95 kB / 0.9898 GB, free: 9.309 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.01192, allocations: 155.2 kB / 0.9899 GB, free: 9.156 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01192, allocations: 0 / 0.9899 GB, free: 9.156 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004678/0.01239, allocations: 290.2 kB / 0.9902 GB, free: 8.863 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.0124, allocations: 11.98 kB / 0.9902 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01241, allocations: 0 / 0.9902 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/0.01275, allocations: 131.6 kB / 0.9904 GB, free: 8.723 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.01327, allocations: 99.95 kB / 0.9905 GB, free: 8.625 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004592/0.01373, allocations: 0.6381 MB / 0.9911 GB, free: 7.961 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.556e-05/0.01381, allocations: 23.92 kB / 0.9911 GB, free: 7.938 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.01382, allocations: 4 kB / 0.9911 GB, free: 7.934 MB / 0.948 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 (17): * 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: 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 7.937e-05/0.0139, allocations: 118 kB / 0.9912 GB, free: 7.809 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.01393, allocations: 27.88 kB / 0.9912 GB, free: 7.781 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.01441, allocations: 281.7 kB / 0.9915 GB, free: 7.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01442, allocations: 0 / 0.9915 GB, free: 7.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01442, allocations: 0 / 0.9915 GB, free: 7.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.01442, allocations: 4 kB / 0.9915 GB, free: 7.496 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/0.01537, allocations: 0.6832 MB / 0.9922 GB, free: 6.754 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.01537, allocations: 0 / 0.9922 GB, free: 6.754 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/0.01596, allocations: 96.02 kB / 0.9923 GB, free: 6.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.01623, allocations: 123.4 kB / 0.9924 GB, free: 6.539 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.01624, allocations: 7.984 kB / 0.9924 GB, free: 6.531 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004201/0.01666, allocations: 0.6303 MB / 0.993 GB, free: 5.875 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01666, allocations: 4 kB / 0.993 GB, free: 5.871 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.01712, allocations: 368.6 kB / 0.9934 GB, free: 5.488 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.01714, allocations: 15.88 kB / 0.9934 GB, free: 5.473 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.01716, allocations: 4 kB / 0.9934 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.01726, allocations: 11.98 kB / 0.9934 GB, free: 5.457 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.01729, allocations: 19.97 kB / 0.9934 GB, free: 5.438 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.0173, allocations: 4 kB / 0.9934 GB, free: 5.434 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.834e-05/0.01736, allocations: 116.9 kB / 0.9935 GB, free: 5.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01736, allocations: 0 / 0.9935 GB, free: 5.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003044/0.01767, allocations: 135.5 kB / 0.9937 GB, free: 5.188 MB / 0.948 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 (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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008645/0.01853, allocations: 1.039 MB / 0.9947 GB, free: 4.113 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004892/0.01902, allocations: 223.7 kB / 0.9949 GB, free: 3.895 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01902, allocations: 0 / 0.9949 GB, free: 3.895 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002626/0.01928, allocations: 124 kB / 0.995 GB, free: 3.773 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.01959, allocations: 51.89 kB / 0.9951 GB, free: 3.723 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.0219, allocations: 2.223 MB / 0.9972 GB, free: 1.406 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.082e-05/0.02196, allocations: 90.94 kB / 0.9973 GB, free: 1.297 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.202e-05/0.02204, allocations: 32.86 kB / 0.9973 GB, free: 1.262 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.02211, allocations: 44.42 kB / 0.9974 GB, free: 1.219 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.02211, allocations: 0 / 0.9974 GB, free: 1.219 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.041, allocations: 7.704 MB / 1.005 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.157/8.198, allocations: 4 kB / 1.005 GB, free: 9.766 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.458241865970194] Failed to read output from testmodel.py, exit status != 0: 8.28822554089129 8.297816581 8.289397373 Calling exit ...