Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.009367/0.009367, allocations: 169.1 kB / 15.12 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 221.3 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001081, allocations: 90.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8792/0.8792, allocations: 90.59 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003786, allocations: 8 kB / 485.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5056, allocations: 66.28 MB / 0.5387 GB, free: 45.46 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.2048/0.7104, allocations: 160.2 MB / 0.6951 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02176/0.7322, allocations: 14.79 MB / 0.7095 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002573/0.7349, allocations: 31.88 kB / 0.7095 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/0.7383, allocations: 0.8903 MB / 0.7104 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.007942/0.7463, allocations: 2.069 MB / 0.7124 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.006331/0.7527, allocations: 1.368 MB / 0.7138 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.005644/0.7583, allocations: 2.022 MB / 0.7157 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008016/0.7592, allocations: 340 kB / 0.7161 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.762, allocations: 1.076 MB / 0.7171 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002118/0.7641, allocations: 1.102 MB / 0.7182 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002532/0.7644, allocations: 80 kB / 0.7183 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007094/0.7715, allocations: 2.349 MB / 0.7206 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005973/0.7721, allocations: 310.7 kB / 0.7209 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0009623/0.7731, allocations: 364.8 kB / 0.7212 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004438/0.7776, allocations: 1.979 MB / 0.7231 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.7776, allocations: 0 / 0.7231 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.076e-06/0.7776, allocations: 0 / 0.7231 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.648e-05/0.7776, allocations: 0 / 0.7231 GB, free: 14.61 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004249/0.7819, allocations: 1.993 MB / 0.7251 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.7819, allocations: 8.031 kB / 0.7251 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002803/0.7822, allocations: 207.2 kB / 0.7253 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005356/0.7828, allocations: 214.5 kB / 0.7255 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.7842, allocations: 0.8103 MB / 0.7263 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-05/0.7843, allocations: 114.8 kB / 0.7264 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/0.7845, allocations: 155.9 kB / 0.7266 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/0.7871, allocations: 1.616 MB / 0.7281 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.7872, allocations: 7.938 kB / 0.7281 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.7874, allocations: 60 kB / 0.7282 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/0.7874, allocations: 36 kB / 0.7282 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.79, allocations: 1.504 MB / 0.7297 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009963/0.7999, allocations: 7.297 MB / 0.7368 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.803, allocations: 1.682 MB / 0.7385 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007028/0.81, allocations: 6.077 MB / 0.7444 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.219e-05/0.8101, allocations: 63.75 kB / 0.7445 GB, free: 7.176 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 4.688e-06/0.8101, allocations: 4 kB / 0.7445 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of matching and sorting (n=172): time 0.00703/0.8172, allocations: 3.431 MB / 0.7478 GB, free: 3.492 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.8173, allocations: 183 kB / 0.748 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.8185, allocations: 0.866 MB / 0.7488 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.8187, allocations: 65.7 kB / 0.7489 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005141/0.8192, allocations: 0.6214 MB / 0.7495 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/0.8197, allocations: 0.5852 MB / 0.7501 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.8198, allocations: 36 kB / 0.7501 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.82, allocations: 369.9 kB / 0.7505 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/0.821, allocations: 0.5154 MB / 0.751 GB, free: 184 kB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3345/1.155, allocations: 0.8559 MB / 0.7518 GB, free: 178.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/1.157, allocations: 0.6325 MB / 0.7524 GB, free: 178.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/1.157, allocations: 2.812 kB / 0.7524 GB, free: 178.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003579/1.16, allocations: 1.888 MB / 0.7543 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/1.16, allocations: 8.406 kB / 0.7543 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.161, allocations: 8.125 kB / 0.7543 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000705/1.161, allocations: 211.6 kB / 0.7545 GB, free: 178.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/1.163, allocations: 391.5 kB / 0.7549 GB, free: 178 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/1.167, allocations: 7.197 MB / 0.7619 GB, free: 171.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/1.169, allocations: 180.4 kB / 0.7621 GB, free: 171.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/1.169, allocations: 74.83 kB / 0.7621 GB, free: 171.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (204): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007685/1.17, allocations: 320.3 kB / 0.7624 GB, free: 171.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/1.17, allocations: 154.8 kB / 0.7626 GB, free: 171.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/1.174, allocations: 2.095 MB / 0.7646 GB, free: 171.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/1.174, allocations: 21.69 kB / 0.7646 GB, free: 171.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.174, allocations: 7.156 kB / 0.7647 GB, free: 171.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/1.174, allocations: 9.938 kB / 0.7647 GB, free: 171.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/1.181, allocations: 4.037 MB / 0.7686 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/1.181, allocations: 6.75 kB / 0.7686 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009488/1.182, allocations: 270.6 kB / 0.7689 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/1.183, allocations: 473.9 kB / 0.7693 GB, free: 169.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/1.183, allocations: 52.06 kB / 0.7694 GB, free: 169.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005754/1.189, allocations: 9.48 MB / 0.7786 GB, free: 160 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.189, allocations: 4.156 kB / 0.7786 GB, free: 160 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005454/1.195, allocations: 3.117 MB / 0.7817 GB, free: 158.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006216/1.195, allocations: 240.2 kB / 0.7819 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/1.196, allocations: 36.59 kB / 0.7819 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.197, allocations: 104.3 kB / 0.782 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/1.197, allocations: 137.8 kB / 0.7822 GB, free: 158 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.197, allocations: 74.27 kB / 0.7822 GB, free: 158 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009067/1.198, allocations: 0.5751 MB / 0.7828 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.198, allocations: 0 / 0.7828 GB, free: 157.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003337/1.201, allocations: 0.7722 MB / 0.7836 GB, free: 157.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.inlet.m_flow) * 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 (151): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {2 3,2 3,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007538/1.209, allocations: 4.939 MB / 0.7884 GB, free: 154.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004311/1.213, allocations: 2.087 MB / 0.7904 GB, free: 153.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/1.213, allocations: 1.375 kB / 0.7904 GB, free: 153.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002894/1.216, allocations: 1.507 MB / 0.7919 GB, free: 152.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.22, allocations: 469.8 kB / 0.7923 GB, free: 152.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/1.24, allocations: 16.07 MB / 0.808 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/1.242, allocations: 1.271 MB / 0.8093 GB, free: 140 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002132/1.244, allocations: 306.6 kB / 0.8096 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008906/1.245, allocations: 0.6385 MB / 0.8102 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.743e-06/1.245, allocations: 0 / 0.8102 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08444/1.329, allocations: 45.86 MB / 0.855 GB, free: 105 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/1.329, allocations: 233 kB / 0.8552 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.722/5.051, allocations: 0 / 0.8552 GB, free: 104.7 MB / 0.5573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV_res.mat does not exist to compare? outputFormat=mat