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.005115/0.005115, allocations: 101.6 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 190.1 kB / 16.67 MB, free: 5.93 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 55.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.471/0.4723, allocations: 80.93 MB / 0.6646 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2079/0.6802, allocations: 167 MB / 0.8277 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03716/0.7174, allocations: 17.12 MB / 0.8444 GB, free: 8.902 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/0.7205, allocations: 31.81 kB / 0.8445 GB, free: 8.871 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003727/0.7243, allocations: 0.5236 MB / 0.845 GB, free: 8.344 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.7353, allocations: 1.65 MB / 0.8466 GB, free: 6.691 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00785/0.7432, allocations: 1.392 MB / 0.8479 GB, free: 5.312 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006287/0.7495, allocations: 2.549 MB / 0.8504 GB, free: 2.754 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00516/0.7547, allocations: 1.955 MB / 0.8523 GB, free: 0.7578 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007339/0.7621, allocations: 1.354 MB / 0.8537 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/0.7651, allocations: 1.031 MB / 0.8547 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008963/0.766, allocations: 208 kB / 0.8549 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006618/0.7727, allocations: 1.544 MB / 0.8564 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001636/0.7743, allocations: 0.7712 MB / 0.8571 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003256/0.7776, allocations: 1.135 MB / 0.8582 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.789, allocations: 3.436 MB / 0.8616 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.7891, allocations: 0 / 0.8616 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.06e-06/0.7891, allocations: 0 / 0.8616 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001129/0.7892, allocations: 3.938 kB / 0.8616 GB, free: 7.293 MB / 0.6856 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.01009/0.7993, allocations: 2.734 MB / 0.8643 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/0.7994, allocations: 8.031 kB / 0.8643 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007218/0.8066, allocations: 0.5682 MB / 0.8648 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005687/0.8124, allocations: 1.616 MB / 0.8664 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.8126, allocations: 127.2 kB / 0.8665 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005909/0.8132, allocations: 163.9 kB / 0.8667 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006884/0.8201, allocations: 1.896 MB / 0.8685 GB, free: 12 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.377e-05/0.8202, allocations: 0 / 0.8685 GB, free: 12 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.4611/1.281, allocations: 68.77 kB / 0.8686 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.429e-05/1.281, allocations: 39.19 kB / 0.8686 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005216/1.287, allocations: 2.067 MB / 0.8707 GB, free: 191.5 MB / 0.6856 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.01232/1.299, allocations: 5.679 MB / 0.8762 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/1.303, allocations: 2.033 MB / 0.8782 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/1.304, allocations: 0.7346 MB / 0.8789 GB, free: 187 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005676/1.305, allocations: 433.8 kB / 0.8793 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/1.307, allocations: 0.9533 MB / 0.8802 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 3.527e-06/1.307, allocations: 0 / 0.8802 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006753/1.314, allocations: 2.873 MB / 0.8831 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.853e-05/1.314, allocations: 194.6 kB / 0.8832 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/1.316, allocations: 1.785 MB / 0.885 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002128/1.317, allocations: 56.11 kB / 0.885 GB, free: 183.3 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006339/1.317, allocations: 0.8387 MB / 0.8859 GB, free: 182.6 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/1.318, allocations: 477.5 kB / 0.8863 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003962/1.318, allocations: 243.3 kB / 0.8865 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/1.318, allocations: 356.7 kB / 0.8869 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/1.319, allocations: 0.572 MB / 0.8874 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/1.32, allocations: 0.7816 MB / 0.8882 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/1.323, allocations: 1.299 MB / 0.8895 GB, free: 180.5 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/1.323, allocations: 1.156 kB / 0.8895 GB, free: 180.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003991/1.327, allocations: 1.774 MB / 0.8912 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/1.327, allocations: 12.39 kB / 0.8912 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.327, allocations: 1 kB / 0.8912 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/1.328, allocations: 206.3 kB / 0.8914 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.329, allocations: 326 kB / 0.8917 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/1.334, allocations: 7.313 MB / 0.8989 GB, free: 172 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.336, allocations: 157.2 kB / 0.899 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/1.336, allocations: 53.34 kB / 0.8991 GB, free: 171.9 MB / 0.6856 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.00106/1.337, allocations: 484.1 kB / 0.8995 GB, free: 171.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004219/1.337, allocations: 183.4 kB / 0.8997 GB, free: 171.5 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/1.342, allocations: 2.045 MB / 0.9017 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.342, allocations: 14.91 kB / 0.9017 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.342, allocations: 5.25 kB / 0.9017 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.342, allocations: 7.969 kB / 0.9017 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006716/1.348, allocations: 3.83 MB / 0.9055 GB, free: 168.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.348, allocations: 1.062 kB / 0.9055 GB, free: 168.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/1.35, allocations: 321.1 kB / 0.9058 GB, free: 168 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008297/1.351, allocations: 197.4 kB / 0.906 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.462e-05/1.351, allocations: 38.84 kB / 0.906 GB, free: 167.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004343/1.355, allocations: 7.364 MB / 0.9132 GB, free: 160.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/1.355, allocations: 0 / 0.9132 GB, free: 160.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/1.359, allocations: 1.925 MB / 0.9151 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/1.36, allocations: 463.4 kB / 0.9155 GB, free: 159 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/1.36, allocations: 27.62 kB / 0.9155 GB, free: 159 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.362, allocations: 91.78 kB / 0.9156 GB, free: 159 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002201/1.362, allocations: 108.4 kB / 0.9157 GB, free: 158.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.362, allocations: 67.48 kB / 0.9158 GB, free: 158.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001495/1.363, allocations: 1.275 MB / 0.917 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.21e-07/1.363, allocations: 0 / 0.917 GB, free: 158.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001838/1.365, allocations: 0.6418 MB / 0.9177 GB, free: 158.1 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: 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.001767/1.367, allocations: 0.7526 MB / 0.9184 GB, free: 157.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003088/1.37, allocations: 2.034 MB / 0.9204 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.37, allocations: 4.312 kB / 0.9204 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/1.372, allocations: 1.387 MB / 0.9217 GB, free: 154.7 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/1.374, allocations: 0.5281 MB / 0.9223 GB, free: 154.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/1.38, allocations: 3.913 MB / 0.9261 GB, free: 150.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/1.381, allocations: 1.517 MB / 0.9276 GB, free: 148.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001554/1.383, allocations: 0.4886 MB / 0.928 GB, free: 148.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/1.383, allocations: 159.4 kB / 0.9282 GB, free: 148 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/1.383, allocations: 0 / 0.9282 GB, free: 148 MB / 0.6856 GB Notification: Performance of Templates: time 0.04261/1.426, allocations: 30.53 MB / 0.958 GB, free: 117.8 MB / 0.6856 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)