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.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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: translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002666/0.002666, allocations: 199.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9673/0.9673, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 64.78 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1822, allocations: 80.93 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData): time 0.4673/0.6495, allocations: 166.9 MB / 0.7474 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.6735, allocations: 17.1 MB / 0.7641 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.6756, allocations: 31.81 kB / 0.7641 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001596/0.6772, allocations: 0.5274 MB / 0.7646 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.6822, allocations: 1.635 MB / 0.7662 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.6862, allocations: 1.378 MB / 0.7675 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003002/0.6892, allocations: 2.521 MB / 0.77 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/0.6917, allocations: 1.945 MB / 0.7719 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003527/0.6952, allocations: 1.34 MB / 0.7732 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.6965, allocations: 1.023 MB / 0.7742 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003301/0.6969, allocations: 208 kB / 0.7744 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.7001, allocations: 1.505 MB / 0.7759 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006347/0.7007, allocations: 0.7673 MB / 0.7766 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.7018, allocations: 1.119 MB / 0.7777 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.7056, allocations: 3.33 MB / 0.781 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7056, allocations: 0 / 0.781 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7056, allocations: 0 / 0.781 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.847e-05/0.7057, allocations: 3.938 kB / 0.781 GB, free: 3.555 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.004987/0.7107, allocations: 2.629 MB / 0.7836 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.7108, allocations: 8.031 kB / 0.7836 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003708/0.7145, allocations: 0.5435 MB / 0.7841 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.7167, allocations: 1.56 MB / 0.7856 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.7168, allocations: 123.3 kB / 0.7857 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.717, allocations: 168 kB / 0.7859 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.72, allocations: 1.884 MB / 0.7877 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.72, allocations: 0 / 0.7877 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.7202, allocations: 68 kB / 0.7878 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.7202, allocations: 40 kB / 0.7878 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003318/0.7236, allocations: 2.038 MB / 0.7898 GB, free: 10.32 MB / 0.6075 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.008357/0.7319, allocations: 5.566 MB / 0.7953 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.735, allocations: 2.01 MB / 0.7972 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.7362, allocations: 0.7256 MB / 0.7979 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/0.7368, allocations: 437.7 kB / 0.7983 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001643/0.7384, allocations: 0.9232 MB / 0.7992 GB, free: 252 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 2.735e-06/0.7385, allocations: 0 / 0.7992 GB, free: 252 kB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006925/0.7454, allocations: 2.829 MB / 0.802 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.7455, allocations: 197.2 kB / 0.8022 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.7481, allocations: 1.742 MB / 0.8039 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.7484, allocations: 53.7 kB / 0.804 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007366/0.7491, allocations: 0.8073 MB / 0.8047 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000419/0.7495, allocations: 461.3 kB / 0.8052 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.7499, allocations: 242.7 kB / 0.8054 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.7501, allocations: 353.9 kB / 0.8057 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.7511, allocations: 0.5608 MB / 0.8063 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.7524, allocations: 0.7584 MB / 0.807 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.7547, allocations: 1.29 MB / 0.8083 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.7547, allocations: 0 / 0.8083 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003994/0.7587, allocations: 1.721 MB / 0.81 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.7588, allocations: 4 kB / 0.81 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.7588, allocations: 9.094 kB / 0.81 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.7599, allocations: 216.1 kB / 0.8102 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.7615, allocations: 315.5 kB / 0.8105 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006948/0.7685, allocations: 7.31 MB / 0.8176 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.7706, allocations: 150.8 kB / 0.8178 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.7707, allocations: 51.97 kB / 0.8178 GB, free: 12.2 MB / 0.6387 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 (140): * Single equations (assignments): 135 * 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.0013/0.772, allocations: 477.6 kB / 0.8183 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000506/0.7726, allocations: 185.8 kB / 0.8185 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004411/0.777, allocations: 2.015 MB / 0.8204 GB, free: 9.496 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.777, allocations: 16 kB / 0.8204 GB, free: 9.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.777, allocations: 3.984 kB / 0.8204 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.7771, allocations: 7.984 kB / 0.8205 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/0.7841, allocations: 3.801 MB / 0.8242 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.7842, allocations: 0 / 0.8242 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/0.7856, allocations: 307.6 kB / 0.8245 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009363/0.7866, allocations: 208.1 kB / 0.8247 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.7867, allocations: 35.97 kB / 0.8247 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006215/0.7929, allocations: 7.349 MB / 0.8319 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.793, allocations: 4 kB / 0.8319 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.7972, allocations: 1.896 MB / 0.8337 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008521/0.7981, allocations: 454.3 kB / 0.8342 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.7983, allocations: 31.94 kB / 0.8342 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.7994, allocations: 90.14 kB / 0.8343 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.7997, allocations: 101.2 kB / 0.8344 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.7998, allocations: 67.94 kB / 0.8344 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001549/0.8014, allocations: 1.252 MB / 0.8357 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8014, allocations: 0 / 0.8357 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001754/0.8032, allocations: 0.6313 MB / 0.8363 GB, free: 8.422 MB / 0.6544 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001635/0.8048, allocations: 0.7545 MB / 0.837 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004935/0.8098, allocations: 2.407 MB / 0.8394 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.8098, allocations: 0.7969 kB / 0.8394 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.8119, allocations: 1.375 MB / 0.8407 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.8143, allocations: 0.5166 MB / 0.8412 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006809/0.8211, allocations: 3.736 MB / 0.8449 GB, free: 15.69 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.8222, allocations: 1.509 MB / 0.8463 GB, free: 14.15 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002098/0.8243, allocations: 0.4885 MB / 0.8468 GB, free: 13.66 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/0.8248, allocations: 167.4 kB / 0.847 GB, free: 13.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.162e-06/0.8248, allocations: 0 / 0.847 GB, free: 13.5 MB / 0.67 GB Notification: Performance of Templates: time 0.3154/1.14, allocations: 29.89 MB / 0.8762 GB, free: 214.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.makefile (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)