Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 181.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6952/0.6952, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 403.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000984/0.0009839, allocations: 116.9 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009945/0.0009946, allocations: 63.84 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1316, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4506/0.5822, allocations: 151.5 MB / 0.7881 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.596, allocations: 10.45 MB / 0.7983 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008032/0.5969, allocations: 15.94 kB / 0.7983 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.5977, allocations: 210.5 kB / 0.7985 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.6, allocations: 0.7635 MB / 0.7993 GB, free: 296 kB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.6023, allocations: 0.9077 MB / 0.8001 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001438/0.6037, allocations: 1.523 MB / 0.8016 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.605, allocations: 1.051 MB / 0.8027 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.6069, allocations: 0.592 MB / 0.8032 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/0.6075, allocations: 0.5249 MB / 0.8037 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.6076, allocations: 63.94 kB / 0.8038 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001753/0.6094, allocations: 0.9517 MB / 0.8047 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.6097, allocations: 294.9 kB / 0.805 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005076/0.6102, allocations: 0.5437 MB / 0.8056 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002135/0.6123, allocations: 1.975 MB / 0.8075 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6123, allocations: 4 kB / 0.8075 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6124, allocations: 0 / 0.8075 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.412e-05/0.6124, allocations: 0 / 0.8075 GB, free: 7.836 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002683/0.6151, allocations: 1.595 MB / 0.809 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.6151, allocations: 8.031 kB / 0.809 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.6167, allocations: 258.2 kB / 0.8093 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.6179, allocations: 0.8473 MB / 0.8101 GB, free: 5.031 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/0.618, allocations: 66 kB / 0.8102 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.6181, allocations: 92 kB / 0.8103 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.6198, allocations: 1.051 MB / 0.8113 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.6199, allocations: 0 / 0.8113 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-05/0.62, allocations: 40 kB / 0.8113 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.62, allocations: 23.94 kB / 0.8114 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.6221, allocations: 1.272 MB / 0.8126 GB, free: 2.449 MB / 0.5417 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.004667/0.6267, allocations: 3.062 MB / 0.8156 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.6286, allocations: 1.012 MB / 0.8166 GB, free: 14.24 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006904/0.6293, allocations: 403.6 kB / 0.817 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.6295, allocations: 134.1 kB / 0.8171 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009524/0.6305, allocations: 0.5475 MB / 0.8176 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=86): time 2.535e-06/0.6305, allocations: 0 / 0.8176 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.00384/0.6344, allocations: 1.503 MB / 0.8191 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.851e-05/0.6345, allocations: 192.9 kB / 0.8193 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00094/0.6354, allocations: 0.7624 MB / 0.82 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.443e-05/0.6355, allocations: 45.7 kB / 0.8201 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/0.6358, allocations: 436.4 kB / 0.8205 GB, free: 10.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.6361, allocations: 283.8 kB / 0.8208 GB, free: 9.812 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/0.6363, allocations: 178.5 kB / 0.8209 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6365, allocations: 337.9 kB / 0.8212 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/0.6371, allocations: 321.8 kB / 0.8216 GB, free: 8.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/0.6379, allocations: 437.6 kB / 0.822 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.6393, allocations: 0.7335 MB / 0.8227 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.6393, allocations: 0 / 0.8227 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002347/0.6417, allocations: 1.006 MB / 0.8237 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6417, allocations: 7.938 kB / 0.8237 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6417, allocations: 0 / 0.8237 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007176/0.6424, allocations: 113.7 kB / 0.8238 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.6435, allocations: 195.7 kB / 0.824 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.6464, allocations: 2.853 MB / 0.8268 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008712/0.6473, allocations: 104.9 kB / 0.8269 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/0.6474, allocations: 43.91 kB / 0.8269 GB, free: 3.184 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (96): * Single equations (assignments): 94 * 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.0005197/0.6479, allocations: 290.4 kB / 0.8272 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.6481, allocations: 90.88 kB / 0.8273 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.6509, allocations: 1.225 MB / 0.8285 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.6509, allocations: 8 kB / 0.8285 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.651, allocations: 0 / 0.8285 GB, free: 1.555 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.651, allocations: 7.922 kB / 0.8285 GB, free: 1.547 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/0.6548, allocations: 2.251 MB / 0.8307 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6548, allocations: 3.938 kB / 0.8307 GB, free: 15.23 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007773/0.6556, allocations: 183.8 kB / 0.8309 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/0.6562, allocations: 113.6 kB / 0.831 GB, free: 14.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.6563, allocations: 23.98 kB / 0.831 GB, free: 14.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/0.6589, allocations: 2.875 MB / 0.8338 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6589, allocations: 7.969 kB / 0.8338 GB, free: 11.75 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/0.6626, allocations: 2.291 MB / 0.836 GB, free: 9.391 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.6631, allocations: 291.6 kB / 0.8363 GB, free: 9.086 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6632, allocations: 19.98 kB / 0.8363 GB, free: 9.066 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.664, allocations: 85.73 kB / 0.8364 GB, free: 8.984 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.6642, allocations: 68.84 kB / 0.8365 GB, free: 8.918 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/0.6643, allocations: 47.97 kB / 0.8365 GB, free: 8.871 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006677/0.6649, allocations: 0.5381 MB / 0.8371 GB, free: 8.336 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6649, allocations: 0 / 0.8371 GB, free: 8.336 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001225/0.6662, allocations: 419.2 kB / 0.8375 GB, free: 7.926 MB / 0.573 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001591/0.6678, allocations: 0.7057 MB / 0.8381 GB, free: 7.406 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002083/0.6699, allocations: 1.06 MB / 0.8392 GB, free: 6.316 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6699, allocations: 0 / 0.8392 GB, free: 6.316 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.671, allocations: 0.6943 MB / 0.8399 GB, free: 5.598 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.6725, allocations: 320.9 kB / 0.8402 GB, free: 5.293 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/0.6773, allocations: 2.981 MB / 0.8431 GB, free: 2.273 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.6779, allocations: 1.102 MB / 0.8441 GB, free: 1.141 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001077/0.679, allocations: 299.1 kB / 0.8444 GB, free: 0.8438 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.6793, allocations: 107.4 kB / 0.8445 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of SimCode: time 8.21e-07/0.6793, allocations: 0 / 0.8445 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of Templates: time 0.02869/0.708, allocations: 18.24 MB / 0.8624 GB, free: 14.65 MB / 0.6042 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)