Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001045/0.001045, allocations: 108 kB / 16.41 MB, free: 6.488 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.001024/0.001024, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.237/1.237, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6777/0.6777, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 65.44 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1279, allocations: 76.18 MB / 0.6316 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002802/0.1307, allocations: 1.998 MB / 0.6335 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.1328, allocations: 1.667 MB / 0.6352 GB, free: 1.262 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.1329, allocations: 4 kB / 0.6352 GB, free: 1.258 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.343e-05/0.133, allocations: 19.8 kB / 0.6352 GB, free: 1.238 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.069e-05/0.1331, allocations: 47.55 kB / 0.6352 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.1339, allocations: 354.8 kB / 0.6356 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1341, allocations: 231 kB / 0.6358 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1342, allocations: 45.47 kB / 0.6358 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.1343, allocations: 79.83 kB / 0.6359 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1345, allocations: 87.67 kB / 0.636 GB, free: 416 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.1345, allocations: 16 kB / 0.636 GB, free: 400 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000662/0.1352, allocations: 415.6 kB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.1352, allocations: 43.84 kB / 0.6364 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.1353, allocations: 87.64 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.1358, allocations: 434.6 kB / 0.6369 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1358, allocations: 0 / 0.6369 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1358, allocations: 0 / 0.6369 GB, free: 15.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1358, allocations: 0 / 0.6369 GB, free: 15.43 MB / 494.1 MB 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.0007176/0.1365, allocations: 0.5186 MB / 0.6374 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1366, allocations: 12.03 kB / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.1366, allocations: 50.73 kB / 0.6375 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005046/0.1371, allocations: 92.64 kB / 0.6376 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1373, allocations: 184.1 kB / 0.6378 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.1373, allocations: 50.25 kB / 0.6378 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.1374, allocations: 12.38 kB / 0.6378 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.1377, allocations: 178.5 kB / 0.638 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1378, allocations: 0 / 0.638 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.1378, allocations: 12 kB / 0.638 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1378, allocations: 4 kB / 0.638 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.1382, allocations: 184.3 kB / 0.6382 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.1394, allocations: 0.9112 MB / 0.6391 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.1399, allocations: 166.6 kB / 0.6392 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.14, allocations: 76.83 kB / 0.6393 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005698/0.1406, allocations: 0.522 MB / 0.6398 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1407, allocations: 42.5 kB / 0.6399 GB, free: 12.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.1407, allocations: 0 / 0.6399 GB, free: 12.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006222/0.1413, allocations: 240 kB / 0.6401 GB, free: 11.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.1413, allocations: 55.41 kB / 0.6401 GB, free: 11.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1415, allocations: 156.7 kB / 0.6403 GB, free: 11.61 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1415, allocations: 29.7 kB / 0.6403 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.1415, allocations: 115.8 kB / 0.6404 GB, free: 11.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.1416, allocations: 51.3 kB / 0.6405 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.1417, allocations: 33.7 kB / 0.6405 GB, free: 11.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.1418, allocations: 330.8 kB / 0.6408 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.1419, allocations: 71.95 kB / 0.6409 GB, free: 10.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.1421, allocations: 93.66 kB / 0.641 GB, free: 10.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.1425, allocations: 155.6 kB / 0.6411 GB, free: 10.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1425, allocations: 0 / 0.6411 GB, free: 10.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000433/0.1429, allocations: 214.2 kB / 0.6413 GB, free: 10.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.1429, allocations: 4 kB / 0.6413 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.143, allocations: 0 / 0.6413 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.143, allocations: 7.984 kB / 0.6414 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.1432, allocations: 39.97 kB / 0.6414 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1432, allocations: 4.031 kB / 0.6414 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.1434, allocations: 19.83 kB / 0.6414 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1434, allocations: 15.92 kB / 0.6414 GB, free: 10.4 MB / 494.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 (20): * Single equations (assignments): 20 * 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 9.609e-05/0.1435, allocations: 130.4 kB / 0.6416 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.1436, allocations: 15.81 kB / 0.6416 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.144, allocations: 198.4 kB / 0.6418 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.144, allocations: 0 / 0.6418 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.144, allocations: 0 / 0.6418 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1441, allocations: 7.938 kB / 0.6418 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.1453, allocations: 0.974 MB / 0.6427 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1453, allocations: 3.938 kB / 0.6427 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.1455, allocations: 31.97 kB / 0.6428 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1455, allocations: 4 kB / 0.6428 GB, free: 8.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1455, allocations: 4 kB / 0.6428 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1455, allocations: 4.062 kB / 0.6428 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1455, allocations: 4 kB / 0.6428 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.146, allocations: 287.8 kB / 0.643 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.146, allocations: 104.8 kB / 0.6431 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.1461, allocations: 0 / 0.6431 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.1463, allocations: 15.98 kB / 0.6432 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.1463, allocations: 15.92 kB / 0.6432 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1463, allocations: 4 kB / 0.6432 GB, free: 8.398 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.02e-05/0.1464, allocations: 121.8 kB / 0.6433 GB, free: 8.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1464, allocations: 0 / 0.6433 GB, free: 8.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003808/0.1468, allocations: 127.9 kB / 0.6434 GB, free: 8.156 MB / 494.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 (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 Backend phase and start with SimCode phase: time 0.000903/0.1477, allocations: 0.9404 MB / 0.6443 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004204/0.1481, allocations: 183.8 kB / 0.6445 GB, free: 7.004 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1481, allocations: 0 / 0.6445 GB, free: 7.004 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.1483, allocations: 79.91 kB / 0.6446 GB, free: 6.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.1487, allocations: 54.31 kB / 0.6446 GB, free: 6.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.151, allocations: 2.062 MB / 0.6466 GB, free: 4.711 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.1513, allocations: 0.7125 MB / 0.6473 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.1514, allocations: 28.16 kB / 0.6474 GB, free: 3.949 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/0.1515, allocations: 43.42 kB / 0.6474 GB, free: 3.906 MB / 494.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1515, allocations: 4 kB / 0.6474 GB, free: 3.902 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.1726, allocations: 6.039 MB / 0.6533 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.187/7.359, allocations: 4 kB / 0.6533 GB, free: 14.03 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)