Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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.001334/0.001334, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.002082/0.002082, allocations: 161.6 kB / 22.46 MB, free: 5.375 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.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.192/1.192, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.993e-05, allocations: 8.75 kB / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.5886/0.5886, allocations: 148.3 MB / 0.7633 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02607/0.6147, allocations: 16.17 MB / 0.7791 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.6176, allocations: 43.56 kB / 0.7792 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002166/0.6197, allocations: 0.5648 MB / 0.7797 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00685/0.6266, allocations: 1.88 MB / 0.7815 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004695/0.6313, allocations: 1.484 MB / 0.783 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004566/0.6358, allocations: 2.952 MB / 0.7859 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.6385, allocations: 1.564 MB / 0.7874 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005795/0.6443, allocations: 1.994 MB / 0.7894 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.6463, allocations: 0.9175 MB / 0.7902 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004017/0.6467, allocations: 221.6 kB / 0.7905 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003605/0.6503, allocations: 1.47 MB / 0.7919 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008001/0.6511, allocations: 0.8311 MB / 0.7927 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.6524, allocations: 0.8321 MB / 0.7935 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007277/0.6597, allocations: 3.804 MB / 0.7972 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.6597, allocations: 2.531 kB / 0.7972 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6597, allocations: 0 / 0.7972 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.712e-05/0.6598, allocations: 0 / 0.7972 GB, free: 7.523 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005781/0.6656, allocations: 2.755 MB / 0.7999 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6656, allocations: 12.28 kB / 0.7999 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004409/0.6701, allocations: 0.6237 MB / 0.8005 GB, free: 5.199 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.673, allocations: 1.582 MB / 0.8021 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.6731, allocations: 131.9 kB / 0.8022 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.6734, allocations: 171.2 kB / 0.8024 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003988/0.6773, allocations: 2.693 MB / 0.805 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/0.6774, allocations: 6.719 kB / 0.805 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/0.6776, allocations: 74.59 kB / 0.8051 GB, free: 1.879 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.6776, allocations: 43.88 kB / 0.8051 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/0.6811, allocations: 2.039 MB / 0.8071 GB, free: 0.9219 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009913/0.691, allocations: 4.205 MB / 0.8112 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003402/0.6944, allocations: 1.707 MB / 0.8129 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.6959, allocations: 0.7026 MB / 0.8136 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004984/0.6964, allocations: 113.2 kB / 0.8137 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002564/0.6989, allocations: 1.615 MB / 0.8153 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 4.499e-06/0.6989, allocations: 0 / 0.8153 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=146): time 0.008061/0.707, allocations: 2.578 MB / 0.8178 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.7071, allocations: 197.2 kB / 0.818 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/0.7105, allocations: 1.701 MB / 0.8196 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003265/0.7109, allocations: 61.69 kB / 0.8197 GB, free: 5.715 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.7119, allocations: 0.8591 MB / 0.8205 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006759/0.7126, allocations: 0.4919 MB / 0.821 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006094/0.7132, allocations: 250.8 kB / 0.8213 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.7134, allocations: 357.9 kB / 0.8216 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001367/0.7148, allocations: 0.5882 MB / 0.8222 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.7166, allocations: 1.228 MB / 0.8234 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.7194, allocations: 1.333 MB / 0.8247 GB, free: 432 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.7194, allocations: 0 / 0.8247 GB, free: 432 kB / 0.6544 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.0048/0.7242, allocations: 1.82 MB / 0.8264 GB, free: 14.58 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.7242, allocations: 4 kB / 0.8264 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7242, allocations: 4 kB / 0.8265 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.7254, allocations: 212.1 kB / 0.8267 GB, free: 14.35 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.7271, allocations: 335.6 kB / 0.827 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/0.7341, allocations: 6.679 MB / 0.8335 GB, free: 6.828 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/0.7362, allocations: 143.4 kB / 0.8336 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003418/0.7365, allocations: 52.16 kB / 0.8337 GB, free: 6.637 MB / 0.67 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 (152): * Single equations (assignments): 147 * 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.00161/0.7381, allocations: 496.3 kB / 0.8342 GB, free: 6.145 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008084/0.739, allocations: 178.9 kB / 0.8343 GB, free: 5.969 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/0.7446, allocations: 2.116 MB / 0.8364 GB, free: 3.824 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.7446, allocations: 16 kB / 0.8364 GB, free: 3.809 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.7446, allocations: 0 / 0.8364 GB, free: 3.809 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.7446, allocations: 7.969 kB / 0.8364 GB, free: 3.801 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009044/0.7536, allocations: 3.521 MB / 0.8399 GB, free: 224 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.7537, allocations: 0 / 0.8399 GB, free: 224 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.7553, allocations: 311.6 kB / 0.8402 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009873/0.7563, allocations: 208 kB / 0.8404 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.7564, allocations: 43.97 kB / 0.8404 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00685/0.7633, allocations: 6.697 MB / 0.8469 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7633, allocations: 0 / 0.8469 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/0.7686, allocations: 1.989 MB / 0.8489 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/0.77, allocations: 398.2 kB / 0.8493 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005442/0.7706, allocations: 28 kB / 0.8493 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.7724, allocations: 108.2 kB / 0.8494 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003623/0.7727, allocations: 117 kB / 0.8495 GB, free: 5.773 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002339/0.773, allocations: 71.94 kB / 0.8496 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002477/0.7754, allocations: 1.232 MB / 0.8508 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.7754, allocations: 0 / 0.8508 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00283/0.7783, allocations: 0.6975 MB / 0.8514 GB, free: 3.773 MB / 0.6856 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.003161/0.7814, allocations: 0.7972 MB / 0.8522 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004646/0.7861, allocations: 2.031 MB / 0.8542 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.7861, allocations: 0.6562 kB / 0.8542 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002611/0.7887, allocations: 1.364 MB / 0.8555 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/0.7925, allocations: 0.5101 MB / 0.856 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009486/0.802, allocations: 3.776 MB / 0.8597 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/0.8039, allocations: 0.9562 MB / 0.8607 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002554/0.8064, allocations: 0.5002 MB / 0.8612 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008538/0.8073, allocations: 168.4 kB / 0.8613 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of SimCode: time 1.082e-06/0.8073, allocations: 7.938 kB / 0.8613 GB, free: 9.746 MB / 0.7012 GB Notification: Performance of Templates: time 0.06207/0.8694, allocations: 31.4 MB / 0.892 GB, free: 10.88 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.862051513046026] Failed to read output from testmodel.py, exit status != 0: 0.8793135955929756 0.894618094 0.23168200200000003 Calling exit ...