Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 106.1 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.044/1.044, allocations: 175.8 MB / 478.4 MB, free: 3.449 MB / 366.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-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(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 72.11 kB / 0.6652 GB, free: 11.19 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1818, allocations: 94.54 MB / 0.7575 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5909/0.7727, allocations: 169 MB / 0.9226 GB, free: 9.68 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0234/0.7961, allocations: 17.46 MB / 0.9396 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.7979, allocations: 32 kB / 0.9397 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.7998, allocations: 0.5898 MB / 0.9402 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005436/0.8052, allocations: 1.817 MB / 0.942 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/0.8088, allocations: 1.456 MB / 0.9434 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003771/0.8126, allocations: 2.879 MB / 0.9462 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002279/0.8148, allocations: 1.607 MB / 0.9478 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004289/0.8191, allocations: 1.472 MB / 0.9493 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001748/0.8209, allocations: 1.148 MB / 0.9504 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003374/0.8212, allocations: 223.7 kB / 0.9506 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003031/0.8242, allocations: 1.597 MB / 0.9521 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007599/0.825, allocations: 0.8146 MB / 0.9529 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.8265, allocations: 1.275 MB / 0.9542 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005802/0.8323, allocations: 3.746 MB / 0.9578 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.8323, allocations: 3.984 kB / 0.9578 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.864e-06/0.8323, allocations: 4 kB / 0.9579 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.781e-05/0.8323, allocations: 0 / 0.9579 GB, free: 13.58 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005797/0.8381, allocations: 3.016 MB / 0.9608 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.8382, allocations: 8.031 kB / 0.9608 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003081/0.8385, allocations: 244.9 kB / 0.961 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/0.8423, allocations: 0.5877 MB / 0.9616 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005053/0.8473, allocations: 3.45 MB / 0.965 GB, free: 6.152 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.8474, allocations: 123.4 kB / 0.9651 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.8477, allocations: 175.9 kB / 0.9653 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003569/0.8513, allocations: 1.956 MB / 0.9672 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.8513, allocations: 4 kB / 0.9672 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/0.8515, allocations: 75.94 kB / 0.9673 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.712e-05/0.8515, allocations: 44 kB / 0.9673 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003658/0.8551, allocations: 2.116 MB / 0.9694 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0112/0.8663, allocations: 6.917 MB / 0.9761 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003475/0.8698, allocations: 2.047 MB / 0.9781 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.8712, allocations: 0.7139 MB / 0.9788 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006522/0.8719, allocations: 429.6 kB / 0.9792 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/0.8737, allocations: 1.013 MB / 0.9802 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 3.336e-06/0.8737, allocations: 0 / 0.9802 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=146): time 0.00715/0.8809, allocations: 2.994 MB / 0.9831 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.881, allocations: 213.1 kB / 0.9833 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005278/0.8863, allocations: 4.073 MB / 0.9873 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003922/0.8867, allocations: 61.7 kB / 0.9874 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009445/0.8876, allocations: 0.9114 MB / 0.9883 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006319/0.8883, allocations: 0.4919 MB / 0.9887 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/0.8887, allocations: 242.8 kB / 0.989 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.8889, allocations: 349.9 kB / 0.9893 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.8901, allocations: 0.5882 MB / 0.9899 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.8915, allocations: 0.8047 MB / 0.9907 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.8939, allocations: 1.333 MB / 0.992 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.8939, allocations: 0 / 0.992 GB, free: 9.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004144/0.8981, allocations: 1.808 MB / 0.9937 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.8981, allocations: 4 kB / 0.9937 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.8981, allocations: 4 kB / 0.9937 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.8992, allocations: 212.1 kB / 0.9939 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.9007, allocations: 331.5 kB / 0.9943 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006951/0.9077, allocations: 7.331 MB / 1.001 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.9094, allocations: 175 kB / 1.002 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.9095, allocations: 51.97 kB / 1.002 GB, free: 14.98 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * 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.001027/0.9105, allocations: 489.6 kB / 1.002 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004702/0.911, allocations: 202.7 kB / 1.002 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004604/0.9156, allocations: 2.157 MB / 1.004 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.9156, allocations: 12 kB / 1.004 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.9156, allocations: 4 kB / 1.004 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.9156, allocations: 7.969 kB / 1.004 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007545/0.9232, allocations: 4.133 MB / 1.008 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.9232, allocations: 3.984 kB / 1.008 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.9246, allocations: 319.5 kB / 1.009 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008496/0.9255, allocations: 200.1 kB / 1.009 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/0.9256, allocations: 39.97 kB / 1.009 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/0.932, allocations: 7.359 MB / 1.016 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.932, allocations: 3.938 kB / 1.016 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004394/0.9364, allocations: 2.029 MB / 1.018 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/0.9376, allocations: 0.5186 MB / 1.019 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002811/0.9379, allocations: 28 kB / 1.019 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.9391, allocations: 118.8 kB / 1.019 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.9394, allocations: 109.3 kB / 1.019 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.9395, allocations: 71.94 kB / 1.019 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003498/0.943, allocations: 3.14 MB / 1.022 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.01e-07/0.943, allocations: 0 / 1.022 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002045/0.9451, allocations: 0.6937 MB / 1.023 GB, free: 8.48 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.006716/0.9518, allocations: 3.238 MB / 1.026 GB, free: 5.406 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003749/0.9555, allocations: 2.031 MB / 1.028 GB, free: 3.309 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.9555, allocations: 4.609 kB / 1.028 GB, free: 3.305 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.9577, allocations: 1.379 MB / 1.029 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.9601, allocations: 0.5455 MB / 1.03 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/0.9933, allocations: 21.07 MB / 1.05 GB, free: 12.03 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/0.9947, allocations: 1.533 MB / 1.052 GB, free: 10.46 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002001/0.9967, allocations: 0.5291 MB / 1.052 GB, free: 9.926 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/0.998, allocations: 0.8975 MB / 1.053 GB, free: 9.027 MB / 0.795 GB Notification: Performance of SimCode: time 8.01e-07/0.998, allocations: 0 / 1.053 GB, free: 9.027 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.109, allocations: 49.66 MB / 1.102 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.19/17.3, allocations: 9.062 kB / 1.102 GB, free: 7.836 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.40238094003871] Failed to read output from testmodel.py, exit status != 0: 17.527382377069443 17.542565764 16.707442777 Calling exit ...