Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",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.001354/0.001354, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001425/0.001425, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.447/2.447, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.8986, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001554/0.9002, allocations: 1.068 MB / 0.9819 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003678/0.9039, allocations: 2.573 MB / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.244e-05/0.904, allocations: 0 / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.331e-05/0.9041, allocations: 0 / 0.9844 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.045e-05/0.9041, allocations: 23.89 kB / 0.9844 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.9046, allocations: 159.5 kB / 0.9846 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.9049, allocations: 151.7 kB / 0.9847 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.9049, allocations: 7.984 kB / 0.9847 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.9051, allocations: 83.86 kB / 0.9848 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.9052, allocations: 99.83 kB / 0.9849 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.9052, allocations: 12 kB / 0.9849 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.9057, allocations: 163.8 kB / 0.9851 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.931e-05/0.9058, allocations: 79.84 kB / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.9059, allocations: 53.58 kB / 0.9852 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.9062, allocations: 189.9 kB / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9062, allocations: 0 / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9062, allocations: 0 / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.9062, allocations: 0 / 0.9854 GB, free: 1.598 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001014/0.9072, allocations: 0.5299 MB / 0.9859 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.9073, allocations: 8.031 kB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.135e-05/0.9074, allocations: 54.55 kB / 0.986 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.9075, allocations: 15.81 kB / 0.986 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.9079, allocations: 233.5 kB / 0.9862 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.908, allocations: 23.98 kB / 0.9862 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.9081, allocations: 15.95 kB / 0.9862 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008354/0.9089, allocations: 320.9 kB / 0.9865 GB, free: 316 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.9089, allocations: 0 / 0.9865 GB, free: 316 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.909, allocations: 11.98 kB / 0.9866 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.909, allocations: 4 kB / 0.9866 GB, free: 300 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.9109, allocations: 0.8115 MB / 0.9874 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.9114, allocations: 305 kB / 0.9876 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/0.9137, allocations: 0.7731 MB / 0.9884 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005674/0.9142, allocations: 392.3 kB / 0.9888 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.9143, allocations: 42.5 kB / 0.9888 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/0.9143, allocations: 0 / 0.9888 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.002018/0.9163, allocations: 0.7318 MB / 0.9895 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.9164, allocations: 55.41 kB / 0.9896 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.9165, allocations: 130.1 kB / 0.9897 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.9165, allocations: 33.7 kB / 0.9897 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.9166, allocations: 88.8 kB / 0.9898 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.9167, allocations: 130.1 kB / 0.9899 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.9167, allocations: 4 kB / 0.99 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.9169, allocations: 330.8 kB / 0.9903 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/0.9175, allocations: 223.8 kB / 0.9905 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.9181, allocations: 228.8 kB / 0.9907 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.9187, allocations: 199.6 kB / 0.9909 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9187, allocations: 0 / 0.9909 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001199/0.9199, allocations: 0.5092 MB / 0.9914 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.9199, allocations: 15.89 kB / 0.9914 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.9199, allocations: 0 / 0.9914 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.92, allocations: 0 / 0.9914 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.9205, allocations: 111.8 kB / 0.9915 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.9205, allocations: 4 kB / 0.9915 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.9207, allocations: 67.8 kB / 0.9916 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.9207, allocations: 8 kB / 0.9916 GB, free: 10.95 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.9209, allocations: 141.8 kB / 0.9917 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.921, allocations: 15.81 kB / 0.9917 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.9223, allocations: 0.5802 MB / 0.9923 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.9224, allocations: 4 kB / 0.9923 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9224, allocations: 0 / 0.9923 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.9224, allocations: 7.984 kB / 0.9923 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.9228, allocations: 309.3 kB / 0.9926 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.9228, allocations: 0 / 0.9926 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.9232, allocations: 103.9 kB / 0.9927 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.9232, allocations: 8 kB / 0.9927 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.9233, allocations: 19.98 kB / 0.9927 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.9233, allocations: 3.953 kB / 0.9927 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9233, allocations: 0 / 0.9927 GB, free: 9.703 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.9246, allocations: 0.5471 MB / 0.9933 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.9246, allocations: 96.86 kB / 0.9934 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.9247, allocations: 4 kB / 0.9934 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.9249, allocations: 55.89 kB / 0.9934 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.9252, allocations: 123.5 kB / 0.9935 GB, free: 8.844 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.9253, allocations: 15.98 kB / 0.9936 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.357e-05/0.9253, allocations: 98.02 kB / 0.9936 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9254, allocations: 0 / 0.9936 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004328/0.9258, allocations: 119.9 kB / 0.9938 GB, free: 8.617 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00195/0.9278, allocations: 1.178 MB / 0.9949 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.9291, allocations: 0.5147 MB / 0.9954 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9291, allocations: 0 / 0.9954 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.9299, allocations: 284.6 kB / 0.9957 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.9304, allocations: 75.81 kB / 0.9958 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.9337, allocations: 1.597 MB / 0.9973 GB, free: 4.898 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.9341, allocations: 0.7409 MB / 0.998 GB, free: 4.129 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005671/0.9346, allocations: 184.6 kB / 0.9982 GB, free: 3.953 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.9348, allocations: 59.34 kB / 0.9983 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of SimCode: time 5.61e-07/0.9348, allocations: 4 kB / 0.9983 GB, free: 3.895 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.9632, allocations: 6.622 MB / 1.005 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/0.9635, allocations: 195.3 kB / 1.005 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.862, allocations: 0 / 1.005 GB, free: 13.24 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat does not exist to compare? outputFormat=mat