Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 108 kB / 15.61 MB, free: 152 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.001733/0.001733, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9708/0.9708, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.59 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1716, allocations: 80.93 MB / 0.5844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4436/0.6153, allocations: 167 MB / 0.7474 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02281/0.6381, allocations: 17.11 MB / 0.7641 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.6398, allocations: 31.81 kB / 0.7642 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.6417, allocations: 0.5274 MB / 0.7647 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005057/0.6468, allocations: 1.645 MB / 0.7663 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004956/0.6518, allocations: 1.382 MB / 0.7676 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006556/0.6583, allocations: 2.541 MB / 0.7701 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00439/0.6628, allocations: 1.952 MB / 0.772 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005274/0.6681, allocations: 1.342 MB / 0.7733 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.6698, allocations: 1.031 MB / 0.7743 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006401/0.6705, allocations: 208 kB / 0.7745 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.674, allocations: 1.509 MB / 0.776 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.675, allocations: 0.7829 MB / 0.7768 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001859/0.6769, allocations: 1.127 MB / 0.7779 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00564/0.6826, allocations: 3.361 MB / 0.7812 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.6826, allocations: 3.938 kB / 0.7812 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6826, allocations: 0 / 0.7812 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.971e-05/0.6827, allocations: 4 kB / 0.7812 GB, free: 3.426 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005931/0.6887, allocations: 2.654 MB / 0.7838 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.6887, allocations: 12.03 kB / 0.7838 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/0.6928, allocations: 0.5435 MB / 0.7843 GB, free: 156 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.6964, allocations: 1.57 MB / 0.7858 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.6966, allocations: 127.3 kB / 0.786 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006357/0.6972, allocations: 172 kB / 0.7861 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005542/0.7028, allocations: 1.888 MB / 0.788 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.7029, allocations: 0 / 0.788 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003944/0.7033, allocations: 72 kB / 0.788 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/0.7034, allocations: 43.94 kB / 0.7881 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004174/0.7075, allocations: 2.069 MB / 0.7901 GB, free: 10.11 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.01008/0.7176, allocations: 5.714 MB / 0.7957 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/0.721, allocations: 2.037 MB / 0.7977 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.7224, allocations: 0.7374 MB / 0.7984 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006025/0.723, allocations: 437.7 kB / 0.7988 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001765/0.7248, allocations: 0.9388 MB / 0.7997 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 3.737e-06/0.7248, allocations: 0 / 0.7997 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.00685/0.7317, allocations: 2.864 MB / 0.8025 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.7318, allocations: 201.2 kB / 0.8027 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/0.7345, allocations: 1.784 MB / 0.8044 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.7348, allocations: 53.7 kB / 0.8045 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007629/0.7355, allocations: 0.8193 MB / 0.8053 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/0.736, allocations: 469.1 kB / 0.8057 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004386/0.7365, allocations: 242.8 kB / 0.806 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7366, allocations: 353.9 kB / 0.8063 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.7378, allocations: 0.5726 MB / 0.8069 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.7392, allocations: 0.7779 MB / 0.8076 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002467/0.7416, allocations: 1.306 MB / 0.8089 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7417, allocations: 0 / 0.8089 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004196/0.7459, allocations: 1.752 MB / 0.8106 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.7459, allocations: 9.562 kB / 0.8106 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.7459, allocations: 3.938 kB / 0.8106 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/0.747, allocations: 208.2 kB / 0.8108 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.7486, allocations: 331.5 kB / 0.8111 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006633/0.7552, allocations: 7.32 MB / 0.8183 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.7571, allocations: 150.9 kB / 0.8184 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002869/0.7574, allocations: 59.89 kB / 0.8185 GB, free: 11.58 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 (141): * Single equations (assignments): 136 * 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.001309/0.7587, allocations: 477.5 kB / 0.8189 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006087/0.7594, allocations: 173.9 kB / 0.8191 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005371/0.7647, allocations: 2.051 MB / 0.8211 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.7648, allocations: 16 kB / 0.8211 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.7648, allocations: 0 / 0.8211 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.7649, allocations: 3.984 kB / 0.8211 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008706/0.7736, allocations: 3.844 MB / 0.8249 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.7736, allocations: 0 / 0.8249 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.7751, allocations: 311.6 kB / 0.8252 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009618/0.7761, allocations: 204.1 kB / 0.8254 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00013/0.7762, allocations: 39.97 kB / 0.8254 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005929/0.7822, allocations: 7.36 MB / 0.8326 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7822, allocations: 0 / 0.8326 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004209/0.7864, allocations: 1.916 MB / 0.8345 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008955/0.7873, allocations: 454.4 kB / 0.8349 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.7877, allocations: 28 kB / 0.8349 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.789, allocations: 103.1 kB / 0.835 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.7893, allocations: 97.17 kB / 0.8351 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/0.7895, allocations: 67.95 kB / 0.8352 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001912/0.7914, allocations: 1.281 MB / 0.8364 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.7914, allocations: 4 kB / 0.8365 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002841/0.7942, allocations: 0.6313 MB / 0.8371 GB, free: 7.668 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.002511/0.7968, allocations: 0.7424 MB / 0.8378 GB, free: 7.137 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00531/0.8021, allocations: 2.433 MB / 0.8402 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.8021, allocations: 4.797 kB / 0.8402 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002183/0.8043, allocations: 1.391 MB / 0.8415 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.807, allocations: 0.524 MB / 0.842 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009434/0.8164, allocations: 3.91 MB / 0.8459 GB, free: 14.74 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.8178, allocations: 1.517 MB / 0.8473 GB, free: 13.19 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002201/0.82, allocations: 488.4 kB / 0.8478 GB, free: 12.71 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.8206, allocations: 159.4 kB / 0.848 GB, free: 12.55 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/0.8206, allocations: 0 / 0.848 GB, free: 12.55 MB / 0.67 GB Notification: Performance of Templates: time 0.3254/1.146, allocations: 30.21 MB / 0.8775 GB, free: 210.5 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)