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.0014/0.0014, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001371/0.001371, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] 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 0.981/0.981, allocations: 175.7 MB / 480.1 MB, free: 3.191 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.001756/0.001756, allocations: 71.53 kB / 0.6677 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1516, allocations: 94.52 MB / 0.7601 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.4719/0.6236, allocations: 169.2 MB / 0.9253 GB, free: 8.797 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02187/0.6454, allocations: 17.63 MB / 0.9425 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.647, allocations: 32.62 kB / 0.9425 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.6487, allocations: 0.5899 MB / 0.9431 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.6536, allocations: 1.831 MB / 0.9449 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.6568, allocations: 1.469 MB / 0.9463 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003104/0.6599, allocations: 2.874 MB / 0.9492 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001895/0.6618, allocations: 1.589 MB / 0.9507 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003712/0.6655, allocations: 1.493 MB / 0.9522 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.6669, allocations: 1.141 MB / 0.9533 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002663/0.6671, allocations: 223.6 kB / 0.9535 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.67, allocations: 1.606 MB / 0.9551 GB, free: 2.293 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007005/0.6707, allocations: 0.81 MB / 0.9558 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.6719, allocations: 1.275 MB / 0.9571 GB, free: 204 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004412/0.6763, allocations: 3.755 MB / 0.9608 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6763, allocations: 0 / 0.9608 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6763, allocations: 0 / 0.9608 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.634e-05/0.6763, allocations: 0 / 0.9608 GB, free: 12.43 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.004554/0.6809, allocations: 3.005 MB / 0.9637 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.6809, allocations: 12.03 kB / 0.9637 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002798/0.6812, allocations: 248.9 kB / 0.9639 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/0.6846, allocations: 0.5838 MB / 0.9645 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003704/0.6883, allocations: 3.442 MB / 0.9679 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.6884, allocations: 131.4 kB / 0.968 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.6886, allocations: 175.9 kB / 0.9682 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/0.6918, allocations: 1.956 MB / 0.9701 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.6918, allocations: 4 kB / 0.9701 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/0.692, allocations: 72 kB / 0.9702 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.692, allocations: 40 kB / 0.9702 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003499/0.6955, allocations: 2.116 MB / 0.9723 GB, free: 488 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00929/0.7048, allocations: 6.921 MB / 0.979 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.7083, allocations: 2.047 MB / 0.981 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.7095, allocations: 0.71 MB / 0.9817 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/0.7101, allocations: 429.6 kB / 0.9821 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/0.7118, allocations: 1.021 MB / 0.9831 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 3.096e-06/0.7118, allocations: 4 kB / 0.9831 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=146): time 0.00669/0.7185, allocations: 3.001 MB / 0.986 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.7186, allocations: 205.2 kB / 0.9862 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004501/0.7231, allocations: 4.073 MB / 0.9902 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.7233, allocations: 53.7 kB / 0.9903 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008384/0.7241, allocations: 0.9153 MB / 0.9912 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00045/0.7246, allocations: 0.4919 MB / 0.9916 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/0.725, allocations: 242.8 kB / 0.9919 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.7251, allocations: 353.9 kB / 0.9922 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.7263, allocations: 0.5804 MB / 0.9928 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.7277, allocations: 0.8125 MB / 0.9936 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.7301, allocations: 1.341 MB / 0.9949 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7301, allocations: 0 / 0.9949 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003922/0.734, allocations: 1.812 MB / 0.9967 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.734, allocations: 4 kB / 0.9967 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.7341, allocations: 3.984 kB / 0.9967 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009978/0.735, allocations: 212.1 kB / 0.9969 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.7366, allocations: 327.6 kB / 0.9972 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/0.7428, allocations: 7.335 MB / 1.004 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.7442, allocations: 163.1 kB / 1.004 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.845e-05/0.7443, allocations: 47.97 kB / 1.005 GB, free: 13.84 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.0008583/0.7452, allocations: 497.6 kB / 1.005 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.7455, allocations: 198.7 kB / 1.005 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.7499, allocations: 2.153 MB / 1.007 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.7499, allocations: 20 kB / 1.007 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.7499, allocations: 4 kB / 1.007 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.7499, allocations: 11.91 kB / 1.007 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006527/0.7565, allocations: 4.137 MB / 1.011 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7565, allocations: 0 / 1.011 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/0.7579, allocations: 327.5 kB / 1.012 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008329/0.7587, allocations: 188.1 kB / 1.012 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.031e-05/0.7588, allocations: 43.95 kB / 1.012 GB, free: 6.152 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005989/0.7648, allocations: 7.355 MB / 1.019 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7648, allocations: 0 / 1.019 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004041/0.7688, allocations: 2.033 MB / 1.021 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/0.7696, allocations: 0.5186 MB / 1.022 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.7698, allocations: 31.98 kB / 1.022 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.7711, allocations: 115.2 kB / 1.022 GB, free: 11.34 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.7713, allocations: 109.2 kB / 1.022 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.7714, allocations: 72 kB / 1.022 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003223/0.7746, allocations: 3.14 MB / 1.025 GB, free: 8.027 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/0.7746, allocations: 0 / 1.025 GB, free: 8.027 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001617/0.7762, allocations: 0.6937 MB / 1.026 GB, free: 7.332 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.006232/0.7825, allocations: 3.238 MB / 1.029 GB, free: 4.242 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003379/0.7858, allocations: 2.027 MB / 1.031 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7859, allocations: 4.547 kB / 1.031 GB, free: 2.145 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.7879, allocations: 1.368 MB / 1.032 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.79, allocations: 0.5522 MB / 1.033 GB, free: 188 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02909/0.8191, allocations: 21.08 MB / 1.053 GB, free: 10.87 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.8204, allocations: 1.537 MB / 1.055 GB, free: 9.301 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001575/0.8219, allocations: 0.5368 MB / 1.055 GB, free: 8.758 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/0.8231, allocations: 0.8976 MB / 1.056 GB, free: 7.859 MB / 0.795 GB Notification: Performance of SimCode: time 7.51e-07/0.8231, allocations: 0 / 1.056 GB, free: 7.859 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.9265, allocations: 49.79 MB / 1.105 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.71, allocations: 19.3 kB / 1.105 GB, free: 6.461 MB / 0.8419 GB " [Timeout remaining time 644] (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 --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: 19.377792942992528]