Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.PCV,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV",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.0009583/0.0009587, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009849/0.0009851, allocations: 172.7 kB / 15.95 MB, free: 208 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.589/1.589, allocations: 223.2 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7856/0.7856, allocations: 89.66 MB / 380.7 MB, free: 11.4 MB / 318.1 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.0003902/0.0003902, allocations: 10.59 kB / 460.1 MB, free: 24.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1625, allocations: 68.83 MB / 0.5166 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.601/0.7636, allocations: 173.2 MB / 0.6858 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02364/0.7873, allocations: 16.57 MB / 0.7019 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.7905, allocations: 31.81 kB / 0.702 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00342/0.7939, allocations: 0.8195 MB / 0.7028 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008121/0.8021, allocations: 2.071 MB / 0.7048 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00587/0.808, allocations: 1.346 MB / 0.7061 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006369/0.8144, allocations: 3.757 MB / 0.7098 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.8155, allocations: 355 kB / 0.7101 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003413/0.8189, allocations: 1.241 MB / 0.7113 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002984/0.8219, allocations: 1.405 MB / 0.7127 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007594/0.8227, allocations: 84 kB / 0.7128 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006136/0.8289, allocations: 2.144 MB / 0.7149 GB, free: 156 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008996/0.8298, allocations: 338.4 kB / 0.7152 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.831, allocations: 376.7 kB / 0.7155 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004328/0.8353, allocations: 2.053 MB / 0.7176 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8353, allocations: 0 / 0.7176 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.026e-06/0.8353, allocations: 0 / 0.7176 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.00012/0.8355, allocations: 0 / 0.7176 GB, free: 13.39 MB / 0.5294 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.005427/0.8409, allocations: 2.094 MB / 0.7196 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.841, allocations: 8.031 kB / 0.7196 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006134/0.8416, allocations: 215.1 kB / 0.7198 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009634/0.8425, allocations: 229.5 kB / 0.72 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.8444, allocations: 0.9138 MB / 0.7209 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.461e-05/0.8445, allocations: 110.9 kB / 0.721 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/0.8447, allocations: 147.9 kB / 0.7212 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.8476, allocations: 1.631 MB / 0.7228 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.8476, allocations: 4 kB / 0.7228 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.8478, allocations: 67.94 kB / 0.7228 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.8478, allocations: 36 kB / 0.7229 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.8503, allocations: 1.489 MB / 0.7243 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.8606, allocations: 7.139 MB / 0.7313 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002902/0.8635, allocations: 1.562 MB / 0.7328 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.8647, allocations: 0.7513 MB / 0.7335 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006979/0.8717, allocations: 5.976 MB / 0.7394 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.8718, allocations: 55.38 kB / 0.7394 GB, free: 5.375 MB / 0.545 GB Notification: Performance of pre-optimization done (n=166): time 3.196e-06/0.8718, allocations: 4 kB / 0.7394 GB, free: 5.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.006831/0.8787, allocations: 3.159 MB / 0.7425 GB, free: 2.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/0.8788, allocations: 171.1 kB / 0.7427 GB, free: 1.816 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.8806, allocations: 1.083 MB / 0.7437 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.8807, allocations: 57.7 kB / 0.7438 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006929/0.8814, allocations: 0.685 MB / 0.7445 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005601/0.882, allocations: 0.566 MB / 0.745 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.8821, allocations: 36 kB / 0.7451 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001963/0.8823, allocations: 373.9 kB / 0.7454 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.8834, allocations: 0.492 MB / 0.7459 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.8848, allocations: 0.825 MB / 0.7467 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.8863, allocations: 0.6055 MB / 0.7473 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.8863, allocations: 4 kB / 0.7473 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003739/0.8901, allocations: 1.845 MB / 0.7491 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.8901, allocations: 10.53 kB / 0.7491 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.8901, allocations: 16 kB / 0.7491 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008479/0.891, allocations: 232 kB / 0.7493 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.8924, allocations: 379.5 kB / 0.7497 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006736/0.8992, allocations: 7.133 MB / 0.7567 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.9008, allocations: 186.4 kB / 0.7568 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/0.9011, allocations: 71.98 kB / 0.7569 GB, free: 2.391 MB / 0.5606 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 (201): * Single equations (assignments): 196 * 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: 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.001048/0.9022, allocations: 329.4 kB / 0.7572 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006008/0.9028, allocations: 162 kB / 0.7574 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004736/0.9076, allocations: 2.07 MB / 0.7594 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.9076, allocations: 19.94 kB / 0.7594 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/0.9076, allocations: 4 kB / 0.7594 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.9077, allocations: 11.97 kB / 0.7594 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007948/0.9156, allocations: 3.887 MB / 0.7632 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/0.9157, allocations: 7.953 kB / 0.7632 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/0.9168, allocations: 263.9 kB / 0.7635 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001939/0.9188, allocations: 475.2 kB / 0.7639 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.919, allocations: 51.97 kB / 0.764 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009123/0.9281, allocations: 9.425 MB / 0.7732 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.9282, allocations: 4 kB / 0.7732 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006297/0.9345, allocations: 2.86 MB / 0.776 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008143/0.9353, allocations: 262.6 kB / 0.7763 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004315/0.9358, allocations: 43.95 kB / 0.7763 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.9373, allocations: 95.78 kB / 0.7764 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.9376, allocations: 132.6 kB / 0.7765 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/0.9378, allocations: 71.95 kB / 0.7766 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001402/0.9392, allocations: 0.748 MB / 0.7773 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9392, allocations: 0 / 0.7773 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003047/0.9423, allocations: 0.7801 MB / 0.7781 GB, free: 11.64 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (140): * Single equations (assignments): 131 * 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: 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.007132/0.9494, allocations: 4.065 MB / 0.782 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003773/0.9532, allocations: 2.001 MB / 0.784 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/0.9533, allocations: 7.953 kB / 0.784 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003182/0.9565, allocations: 1.443 MB / 0.7854 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/0.9611, allocations: 0.5465 MB / 0.7859 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/0.9832, allocations: 10.75 MB / 0.7964 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/0.9847, allocations: 1.269 MB / 0.7977 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001807/0.9865, allocations: 324.6 kB / 0.798 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/0.9877, allocations: 0.675 MB / 0.7987 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of SimCode: time 1.663e-06/0.9877, allocations: 0 / 0.7987 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4394/1.427, allocations: 48.7 MB / 0.8462 GB, free: 202.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/1.427, allocations: 203 kB / 0.8464 GB, free: 202.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.519/4.947, allocations: 64 / 0.8464 GB, free: 202.1 MB / 0.6075 GB (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_PCV.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV_res.mat does not exist to compare? outputFormat=mat