Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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.001404/0.001404, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001619/0.001619, allocations: 209.6 kB / 22.24 MB, free: 5.262 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.308/1.308, allocations: 203.8 MB / 0.5041 GB, free: 4.684 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") [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.002146/0.002146, allocations: 67.91 kB / 0.7186 GB, free: 2.035 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5895/0.5917, allocations: 102 MB / 0.8182 GB, free: 28.95 MB / 0.6388 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1821/0.7738, allocations: 135.9 MB / 0.951 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.7914, allocations: 9.95 MB / 0.9607 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.7925, allocations: 31.75 kB / 0.9607 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.7937, allocations: 289.7 kB / 0.961 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004081/0.7978, allocations: 1.005 MB / 0.962 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003956/0.8017, allocations: 1.109 MB / 0.9631 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002681/0.8044, allocations: 1.748 MB / 0.9648 GB, free: 8 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.8063, allocations: 0.932 MB / 0.9657 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.8087, allocations: 0.7618 MB / 0.9664 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.8098, allocations: 0.5832 MB / 0.967 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.8101, allocations: 140 kB / 0.9671 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.8127, allocations: 1.014 MB / 0.9681 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004758/0.8132, allocations: 382.8 kB / 0.9685 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009081/0.8141, allocations: 0.5481 MB / 0.969 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003829/0.8179, allocations: 2.277 MB / 0.9712 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.818, allocations: 0 / 0.9712 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.654e-06/0.818, allocations: 0 / 0.9712 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.806e-05/0.818, allocations: 3.938 kB / 0.9712 GB, free: 9.348 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.00417/0.8222, allocations: 1.707 MB / 0.9729 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.8222, allocations: 9.469 kB / 0.9729 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/0.8247, allocations: 318.8 kB / 0.9732 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.8265, allocations: 0.846 MB / 0.974 GB, free: 6.406 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.54e-05/0.8266, allocations: 74 kB / 0.9741 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.8267, allocations: 95.94 kB / 0.9742 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.8292, allocations: 1.494 MB / 0.9757 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.8292, allocations: 0 / 0.9757 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.8293, allocations: 36 kB / 0.9757 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.8293, allocations: 24 kB / 0.9757 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.8317, allocations: 1.28 MB / 0.977 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005549/0.8373, allocations: 2.579 MB / 0.9795 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.8394, allocations: 0.9708 MB / 0.9804 GB, free: 15.67 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008239/0.8402, allocations: 381.2 kB / 0.9808 GB, free: 15.3 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.8405, allocations: 60.89 kB / 0.9809 GB, free: 15.23 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.8418, allocations: 0.8481 MB / 0.9817 GB, free: 14.32 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=95): time 2.705e-06/0.8418, allocations: 0 / 0.9817 GB, free: 14.32 MB / 0.7638 GB Notification: Performance of matching and sorting (n=95): time 0.004531/0.8464, allocations: 1.481 MB / 0.9831 GB, free: 12.82 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.8465, allocations: 192.9 kB / 0.9833 GB, free: 12.59 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.8478, allocations: 0.778 MB / 0.9841 GB, free: 11.81 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.8479, allocations: 45.7 kB / 0.9841 GB, free: 11.76 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005504/0.8484, allocations: 481.1 kB / 0.9846 GB, free: 11.29 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.8488, allocations: 329.2 kB / 0.9849 GB, free: 10.96 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.8491, allocations: 182.6 kB / 0.9851 GB, free: 10.78 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.8493, allocations: 353.9 kB / 0.9854 GB, free: 10.43 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007701/0.8501, allocations: 349.8 kB / 0.9857 GB, free: 10.08 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.8512, allocations: 0.6633 MB / 0.9864 GB, free: 9.344 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.8528, allocations: 0.7882 MB / 0.9872 GB, free: 8.547 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.8528, allocations: 0 / 0.9872 GB, free: 8.547 MB / 0.7638 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002978/0.8558, allocations: 1.088 MB / 0.9882 GB, free: 7.445 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.8558, allocations: 7.938 kB / 0.9882 GB, free: 7.438 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.8559, allocations: 0 / 0.9882 GB, free: 7.438 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008908/0.8567, allocations: 113.7 kB / 0.9883 GB, free: 7.32 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.8578, allocations: 215.7 kB / 0.9885 GB, free: 7.109 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.8617, allocations: 2.8 MB / 0.9913 GB, free: 4.098 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.8628, allocations: 111.5 kB / 0.9914 GB, free: 3.988 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.8629, allocations: 39.97 kB / 0.9914 GB, free: 3.949 MB / 0.7638 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (108): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006854/0.8636, allocations: 311.4 kB / 0.9917 GB, free: 3.637 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.8639, allocations: 103.3 kB / 0.9918 GB, free: 3.535 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/0.8674, allocations: 1.31 MB / 0.9931 GB, free: 2.211 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.8674, allocations: 12 kB / 0.9931 GB, free: 2.199 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8674, allocations: 4 kB / 0.9931 GB, free: 2.195 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.8674, allocations: 7.969 kB / 0.9931 GB, free: 2.188 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005162/0.8726, allocations: 2.127 MB / 0.9952 GB, free: 16 kB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.8726, allocations: 0 / 0.9952 GB, free: 16 kB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/0.8735, allocations: 195.7 kB / 0.9954 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006348/0.8742, allocations: 105.6 kB / 0.9955 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/0.8743, allocations: 27.97 kB / 0.9955 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.8779, allocations: 2.84 MB / 0.9983 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.8779, allocations: 7.922 kB / 0.9983 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.881, allocations: 1.237 MB / 0.9995 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/0.8817, allocations: 227 kB / 0.9997 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.8819, allocations: 27.94 kB / 0.9997 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000986/0.8829, allocations: 79.91 kB / 0.9998 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.8831, allocations: 88.78 kB / 0.9999 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.8833, allocations: 43.97 kB / 0.9999 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009417/0.8842, allocations: 0.5459 MB / 1 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8842, allocations: 4 kB / 1 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00153/0.8857, allocations: 462.8 kB / 1.001 GB, free: 9.91 MB / 0.7794 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.002797/0.8885, allocations: 0.7325 MB / 1.002 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002799/0.8913, allocations: 1.111 MB / 1.003 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8913, allocations: 4 kB / 1.003 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.8929, allocations: 0.7059 MB / 1.003 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.8946, allocations: 348 kB / 1.004 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.8992, allocations: 2.065 MB / 1.006 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.8999, allocations: 0.5086 MB / 1.006 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001214/0.9011, allocations: 315.4 kB / 1.007 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/0.9015, allocations: 123.4 kB / 1.007 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of SimCode: time 8.81e-07/0.9015, allocations: 0 / 1.007 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of Templates: time 0.04455/0.9461, allocations: 21.49 MB / 1.028 GB, free: 15 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.667276062071323] Failed to read output from testmodel.py, exit status != 0: 0.9558777548372746 0.973819077 0.152058507 Calling exit ...