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.001087/0.001087, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001269/0.001269, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.001/1.001, allocations: 135.1 MB / 425.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 55.84 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1639, allocations: 80.93 MB / 0.5839 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4651/0.6291, allocations: 164.7 MB / 0.7447 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02247/0.6516, allocations: 16.94 MB / 0.7612 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.6531, allocations: 27.81 kB / 0.7613 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.655, allocations: 457.3 kB / 0.7617 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0053/0.6604, allocations: 1.512 MB / 0.7632 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.6641, allocations: 1.254 MB / 0.7644 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004011/0.6681, allocations: 2.557 MB / 0.7669 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.6716, allocations: 1.952 MB / 0.7688 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006215/0.6778, allocations: 1.345 MB / 0.7701 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002003/0.6799, allocations: 1.07 MB / 0.7712 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008804/0.6808, allocations: 208 kB / 0.7714 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.6852, allocations: 1.548 MB / 0.7729 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.6864, allocations: 0.779 MB / 0.7736 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002023/0.6884, allocations: 1.135 MB / 0.7747 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005854/0.6943, allocations: 3.411 MB / 0.7781 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6943, allocations: 0 / 0.7781 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.084e-06/0.6943, allocations: 7.938 kB / 0.7781 GB, free: 6.484 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000102/0.6944, allocations: 0 / 0.7781 GB, free: 6.484 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.005181/0.6996, allocations: 2.658 MB / 0.7807 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.6996, allocations: 8.031 kB / 0.7807 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/0.7035, allocations: 0.5474 MB / 0.7812 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.706, allocations: 1.57 MB / 0.7828 GB, free: 1.586 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.59e-05/0.7061, allocations: 127.3 kB / 0.7829 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/0.7064, allocations: 160 kB / 0.783 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003464/0.7098, allocations: 1.9 MB / 0.7849 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.7099, allocations: 0 / 0.7849 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.71, allocations: 72 kB / 0.785 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.7101, allocations: 40 kB / 0.785 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.7135, allocations: 2.065 MB / 0.787 GB, free: 13.17 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.008976/0.7225, allocations: 5.726 MB / 0.7926 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003212/0.7257, allocations: 2.027 MB / 0.7946 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.727, allocations: 0.749 MB / 0.7953 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005944/0.7276, allocations: 429.7 kB / 0.7957 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/0.7293, allocations: 0.9348 MB / 0.7966 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=137): time 3.317e-06/0.7293, allocations: 4 kB / 0.7966 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=137): time 0.006801/0.7361, allocations: 2.86 MB / 0.7994 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.7363, allocations: 193.2 kB / 0.7996 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/0.7393, allocations: 1.796 MB / 0.8014 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002483/0.7396, allocations: 61.7 kB / 0.8014 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008993/0.7405, allocations: 0.8154 MB / 0.8022 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005281/0.741, allocations: 461.2 kB / 0.8027 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000534/0.7416, allocations: 242.8 kB / 0.8029 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.7418, allocations: 353.9 kB / 0.8032 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.7431, allocations: 0.5764 MB / 0.8038 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.7445, allocations: 0.774 MB / 0.8046 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.7469, allocations: 1.302 MB / 0.8058 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.747, allocations: 0 / 0.8058 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004405/0.7514, allocations: 1.76 MB / 0.8075 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.7514, allocations: 8.062 kB / 0.8076 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.7514, allocations: 3.938 kB / 0.8076 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.7526, allocations: 212.1 kB / 0.8078 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.7542, allocations: 323.5 kB / 0.8081 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006378/0.7606, allocations: 7.312 MB / 0.8152 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.7622, allocations: 172.1 kB / 0.8154 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.7624, allocations: 59.89 kB / 0.8154 GB, free: 14.62 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.0009852/0.7634, allocations: 473.3 kB / 0.8159 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004691/0.7639, allocations: 169.9 kB / 0.816 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/0.7685, allocations: 2.058 MB / 0.8181 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.7685, allocations: 12 kB / 0.8181 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.7685, allocations: 4 kB / 0.8181 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.7685, allocations: 7.969 kB / 0.8181 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006898/0.7754, allocations: 3.834 MB / 0.8218 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.7754, allocations: 4 kB / 0.8218 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.7769, allocations: 315.6 kB / 0.8221 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009273/0.7778, allocations: 208 kB / 0.8223 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.7779, allocations: 39.97 kB / 0.8224 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006392/0.7843, allocations: 7.357 MB / 0.8295 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7844, allocations: 0 / 0.8295 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004416/0.7888, allocations: 1.92 MB / 0.8314 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008989/0.7897, allocations: 450.4 kB / 0.8319 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/0.79, allocations: 32 kB / 0.8319 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.7914, allocations: 122.9 kB / 0.832 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.7917, allocations: 105.2 kB / 0.8321 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/0.7919, allocations: 67.89 kB / 0.8322 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001897/0.7938, allocations: 1.277 MB / 0.8334 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7938, allocations: 0 / 0.8334 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001942/0.7957, allocations: 0.6392 MB / 0.834 GB, free: 10.68 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.001954/0.7977, allocations: 0.7354 MB / 0.8348 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00536/0.8031, allocations: 2.437 MB / 0.8371 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.8031, allocations: 4.797 kB / 0.8371 GB, free: 7.652 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/0.8054, allocations: 1.379 MB / 0.8385 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/0.8085, allocations: 0.5271 MB / 0.839 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009234/0.8178, allocations: 4.719 MB / 0.8436 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/0.8193, allocations: 1.517 MB / 0.8451 GB, free: 15.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002373/0.8217, allocations: 492.4 kB / 0.8456 GB, free: 14.92 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/0.8223, allocations: 163.4 kB / 0.8457 GB, free: 14.76 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.8223, allocations: 0 / 0.8457 GB, free: 14.76 MB / 0.67 GB Notification: Performance of Templates: time 0.3293/1.152, allocations: 30.08 MB / 0.8751 GB, free: 215 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)