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.001443/0.001443, allocations: 104.5 kB / 16.36 MB, free: 5.875 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.001536/0.001536, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.788/0.788, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.91 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3513, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1677/0.5191, allocations: 167 MB / 0.7488 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4312/0.9503, allocations: 17.1 MB / 0.7655 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.9519, allocations: 32.88 kB / 0.7656 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.954, allocations: 0.524 MB / 0.7661 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005819/0.9598, allocations: 1.651 MB / 0.7677 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004289/0.9641, allocations: 1.392 MB / 0.769 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004537/0.9687, allocations: 2.554 MB / 0.7715 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002943/0.9716, allocations: 1.95 MB / 0.7734 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004396/0.976, allocations: 1.354 MB / 0.7748 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.9783, allocations: 1.038 MB / 0.7758 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005915/0.9789, allocations: 209.7 kB / 0.776 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/0.9829, allocations: 1.544 MB / 0.7775 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006851/0.9836, allocations: 0.7665 MB / 0.7782 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.985, allocations: 1.138 MB / 0.7793 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004065/0.9891, allocations: 3.416 MB / 0.7827 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.9891, allocations: 3.344 kB / 0.7827 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9891, allocations: 0 / 0.7827 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.434e-05/0.9892, allocations: 0.8125 kB / 0.7827 GB, free: 0.5039 MB / 0.5762 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.003933/0.9931, allocations: 2.652 MB / 0.7853 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.9931, allocations: 11.7 kB / 0.7853 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0034/0.9965, allocations: 0.5505 MB / 0.7858 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.9988, allocations: 1.608 MB / 0.7874 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.496e-05/0.9989, allocations: 126 kB / 0.7875 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.9991, allocations: 165.6 kB / 0.7877 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/1.002, allocations: 1.889 MB / 0.7895 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.002, allocations: 0 / 0.7895 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/1.002, allocations: 76.16 kB / 0.7896 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/1.002, allocations: 43.61 kB / 0.7896 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/1.005, allocations: 2.06 MB / 0.7916 GB, free: 14.42 MB / 0.5919 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.008186/1.013, allocations: 5.658 MB / 0.7972 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/1.016, allocations: 2.049 MB / 0.7992 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/1.017, allocations: 0.745 MB / 0.7999 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006029/1.018, allocations: 427.8 kB / 0.8003 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001429/1.019, allocations: 0.9363 MB / 0.8012 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 2.725e-06/1.019, allocations: 4.031 kB / 0.8012 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006139/1.026, allocations: 2.863 MB / 0.804 GB, free: 11 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.026, allocations: 196 kB / 0.8042 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/1.028, allocations: 1.792 MB / 0.806 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/1.028, allocations: 54.95 kB / 0.806 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/1.029, allocations: 0.8233 MB / 0.8068 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/1.029, allocations: 456.6 kB / 0.8072 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/1.03, allocations: 245 kB / 0.8075 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001298/1.03, allocations: 348.3 kB / 0.8078 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009323/1.031, allocations: 0.5774 MB / 0.8084 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.032, allocations: 0.7778 MB / 0.8091 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/1.034, allocations: 1.303 MB / 0.8104 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.034, allocations: 0 / 0.8104 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003702/1.038, allocations: 1.763 MB / 0.8121 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.038, allocations: 4.938 kB / 0.8121 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/1.038, allocations: 0 / 0.8121 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/1.039, allocations: 218.2 kB / 0.8123 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/1.04, allocations: 320.5 kB / 0.8126 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006166/1.047, allocations: 7.329 MB / 0.8198 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/1.049, allocations: 155.4 kB / 0.8199 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/1.049, allocations: 54.09 kB / 0.82 GB, free: 1.031 MB / 0.5919 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.001401/1.05, allocations: 477.9 kB / 0.8205 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005363/1.051, allocations: 172.3 kB / 0.8206 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004599/1.056, allocations: 2.047 MB / 0.8226 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.056, allocations: 14.16 kB / 0.8226 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/1.056, allocations: 2.844 kB / 0.8226 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/1.056, allocations: 11.91 kB / 0.8226 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007101/1.063, allocations: 3.832 MB / 0.8264 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/1.063, allocations: 0.9688 kB / 0.8264 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/1.064, allocations: 318.2 kB / 0.8267 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000863/1.065, allocations: 196.9 kB / 0.8269 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.065, allocations: 40.88 kB / 0.8269 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00582/1.071, allocations: 7.357 MB / 0.8341 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.071, allocations: 0 / 0.8341 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00418/1.075, allocations: 1.919 MB / 0.836 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.076, allocations: 454.3 kB / 0.8364 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/1.077, allocations: 28 kB / 0.8364 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.078, allocations: 94.34 kB / 0.8365 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/1.078, allocations: 109.2 kB / 0.8366 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/1.078, allocations: 67.89 kB / 0.8367 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001725/1.08, allocations: 1.277 MB / 0.8379 GB, free: 24 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.084e-06/1.08, allocations: 4 kB / 0.838 GB, free: 20 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002011/1.082, allocations: 0.6313 MB / 0.8386 GB, free: 15.39 MB / 0.6231 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.001778/1.084, allocations: 0.7488 MB / 0.8393 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003706/1.087, allocations: 2.023 MB / 0.8413 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.087, allocations: 0.7969 kB / 0.8413 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/1.09, allocations: 1.385 MB / 0.8426 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/1.092, allocations: 0.5174 MB / 0.8431 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007843/1.1, allocations: 3.861 MB / 0.8469 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/1.101, allocations: 1.513 MB / 0.8484 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001787/1.103, allocations: 0.4886 MB / 0.8489 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/1.104, allocations: 159.4 kB / 0.849 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/1.104, allocations: 0 / 0.849 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of Templates: time 0.05095/1.155, allocations: 30.2 MB / 0.8785 GB, free: 6.977 MB / 0.6544 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)