Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.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.001358/0.001358, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001599/0.001599, allocations: 220.2 kB / 23.03 MB, free: 4.941 MB / 14.72 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 1.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8155/0.8155, allocations: 134 MB / 447.2 MB, free: 9.91 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 57.44 kB / 0.6192 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1751, allocations: 85.91 MB / 0.7031 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.592/0.767, allocations: 147 MB / 0.8467 GB, free: 180 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02302/0.7901, allocations: 15.95 MB / 0.8623 GB, free: 184 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.7915, allocations: 43.62 kB / 0.8623 GB, free: 140 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001639/0.7931, allocations: 0.5157 MB / 0.8628 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.7979, allocations: 1.703 MB / 0.8645 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.8014, allocations: 1.423 MB / 0.8659 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003334/0.8048, allocations: 2.58 MB / 0.8684 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.807, allocations: 1.634 MB / 0.87 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004143/0.8111, allocations: 1.454 MB / 0.8714 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.8128, allocations: 1.074 MB / 0.8724 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004212/0.8132, allocations: 208 kB / 0.8726 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003484/0.8167, allocations: 1.478 MB / 0.8741 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009258/0.8176, allocations: 0.7983 MB / 0.8749 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001183/0.8188, allocations: 0.9639 MB / 0.8758 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005812/0.8246, allocations: 3.621 MB / 0.8793 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8246, allocations: 0 / 0.8793 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8246, allocations: 4 kB / 0.8793 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.019e-05/0.8246, allocations: 0 / 0.8793 GB, free: 14.68 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005069/0.8297, allocations: 2.831 MB / 0.8821 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8297, allocations: 8.031 kB / 0.8821 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.307e-05/0.8298, allocations: 47.28 kB / 0.8822 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002947/0.8301, allocations: 244.6 kB / 0.8824 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004401/0.8345, allocations: 0.6228 MB / 0.883 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005011/0.8395, allocations: 3.338 MB / 0.8863 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.8396, allocations: 127.2 kB / 0.8864 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/0.8399, allocations: 163.9 kB / 0.8865 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004263/0.8442, allocations: 2.653 MB / 0.8891 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.8442, allocations: 0 / 0.8891 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.8444, allocations: 76 kB / 0.8892 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.8444, allocations: 43.94 kB / 0.8892 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/0.8482, allocations: 2.069 MB / 0.8913 GB, free: 2.125 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.8586, allocations: 4.955 MB / 0.8961 GB, free: 13.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.8619, allocations: 1.636 MB / 0.8977 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.8633, allocations: 0.6944 MB / 0.8984 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/0.8638, allocations: 117.2 kB / 0.8985 GB, free: 10.64 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00236/0.8661, allocations: 1.545 MB / 0.9 GB, free: 8.926 MB / 0.67 GB Notification: Performance of pre-optimization done (n=137): time 3.928e-06/0.8661, allocations: 0 / 0.9 GB, free: 8.926 MB / 0.67 GB Notification: Performance of matching and sorting (n=137): time 0.006959/0.8731, allocations: 2.5 MB / 0.9024 GB, free: 6.406 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001662/0.8732, allocations: 201.2 kB / 0.9026 GB, free: 6.164 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005359/0.8786, allocations: 4.064 MB / 0.9066 GB, free: 2.094 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003629/0.879, allocations: 53.7 kB / 0.9066 GB, free: 2.035 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009318/0.8799, allocations: 0.8878 MB / 0.9075 GB, free: 1.137 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005991/0.8805, allocations: 483.8 kB / 0.908 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.8809, allocations: 222.8 kB / 0.9082 GB, free: 448 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.8811, allocations: 353.9 kB / 0.9085 GB, free: 88 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.8823, allocations: 0.553 MB / 0.9091 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.8839, allocations: 1.196 MB / 0.9102 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.8864, allocations: 1.286 MB / 0.9115 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.8864, allocations: 4 kB / 0.9115 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004249/0.8906, allocations: 1.726 MB / 0.9132 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.8907, allocations: 4 kB / 0.9132 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.8907, allocations: 3.984 kB / 0.9132 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.8918, allocations: 212.2 kB / 0.9134 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.8934, allocations: 315.5 kB / 0.9137 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006842/0.9002, allocations: 6.795 MB / 0.9203 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.9019, allocations: 154.5 kB / 0.9205 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.902, allocations: 51.91 kB / 0.9205 GB, free: 3.008 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001014/0.903, allocations: 471.3 kB / 0.921 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.9035, allocations: 202.7 kB / 0.9212 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004575/0.9081, allocations: 2.051 MB / 0.9232 GB, free: 268 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/0.9081, allocations: 15.98 kB / 0.9232 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.9081, allocations: 4 kB / 0.9232 GB, free: 248 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.9081, allocations: 3.984 kB / 0.9232 GB, free: 244 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007154/0.9152, allocations: 3.675 MB / 0.9268 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.9153, allocations: 4 kB / 0.9268 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/0.9168, allocations: 319.5 kB / 0.9271 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009294/0.9177, allocations: 196.1 kB / 0.9273 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.9178, allocations: 39.97 kB / 0.9273 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006681/0.9245, allocations: 6.831 MB / 0.934 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9245, allocations: 0 / 0.934 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004438/0.9289, allocations: 1.935 MB / 0.9359 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.93, allocations: 442 kB / 0.9363 GB, free: 2.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/0.9303, allocations: 31.98 kB / 0.9363 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/0.9315, allocations: 97.59 kB / 0.9364 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002665/0.9318, allocations: 109.1 kB / 0.9365 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/0.932, allocations: 63.95 kB / 0.9366 GB, free: 1.82 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003729/0.9357, allocations: 3.12 MB / 0.9396 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9357, allocations: 0 / 0.9396 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002006/0.9377, allocations: 0.6508 MB / 0.9403 GB, free: 14.05 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006914/0.9446, allocations: 3.152 MB / 0.9433 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003598/0.9482, allocations: 1.949 MB / 0.9452 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.9482, allocations: 0.8906 kB / 0.9453 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.9504, allocations: 1.332 MB / 0.9466 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.9529, allocations: 0.532 MB / 0.9471 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03371/0.9866, allocations: 20.79 MB / 0.9674 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.9877, allocations: 0.941 MB / 0.9683 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001825/0.9895, allocations: 0.5127 MB / 0.9688 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/0.9909, allocations: 0.8586 MB / 0.9696 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of SimCode: time 9.02e-07/0.9909, allocations: 0 / 0.9696 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/1.128, allocations: 50.47 MB / 1.019 GB, free: 13.85 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.3/18.42, allocations: 10.89 kB / 1.019 GB, free: 13.84 MB / 0.795 GB " [Timeout remaining time 641] (rm -f IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.443877145065926] Failed to read output from testmodel.py, exit status != 0: 18.719938852009363 18.736436776 17.908734694 Calling exit ...