Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001269/0.001269, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001496/0.001496, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.402/1.402, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 282.9 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9683/0.9683, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 89.75 kB / 0.5947 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2007, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5618/0.7625, allocations: 164.9 MB / 0.8407 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02072/0.7833, allocations: 17.04 MB / 0.8573 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.7861, allocations: 32.66 kB / 0.8574 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.7881, allocations: 462.9 kB / 0.8578 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006316/0.7944, allocations: 1.546 MB / 0.8593 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.7986, allocations: 1.295 MB / 0.8606 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00473/0.8034, allocations: 2.678 MB / 0.8632 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.8064, allocations: 2.009 MB / 0.8651 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006114/0.8125, allocations: 1.398 MB / 0.8665 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.8143, allocations: 1.131 MB / 0.8676 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007988/0.8151, allocations: 227.8 kB / 0.8678 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003848/0.819, allocations: 1.559 MB / 0.8694 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008105/0.8198, allocations: 0.7984 MB / 0.8701 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.8212, allocations: 1.189 MB / 0.8713 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.8265, allocations: 3.549 MB / 0.8748 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8265, allocations: 0 / 0.8748 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8265, allocations: 0 / 0.8748 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.595e-05/0.8266, allocations: 0 / 0.8748 GB, free: 11.94 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004839/0.8314, allocations: 2.756 MB / 0.8775 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.8315, allocations: 10.09 kB / 0.8775 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003634/0.8351, allocations: 0.557 MB / 0.878 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.8375, allocations: 1.609 MB / 0.8796 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.8376, allocations: 132.5 kB / 0.8797 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.8378, allocations: 165.1 kB / 0.8799 GB, free: 8.414 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003242/0.8411, allocations: 1.956 MB / 0.8818 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.8411, allocations: 7.938 kB / 0.8818 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.8413, allocations: 73.94 kB / 0.8818 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.8413, allocations: 40.47 kB / 0.8819 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.8446, allocations: 2.117 MB / 0.884 GB, free: 6.246 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.009585/0.8542, allocations: 5.853 MB / 0.8897 GB, free: 436 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/0.8577, allocations: 2.131 MB / 0.8917 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.859, allocations: 0.773 MB / 0.8925 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006196/0.8596, allocations: 429.6 kB / 0.8929 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001861/0.8615, allocations: 1.013 MB / 0.8939 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 4.248e-06/0.8615, allocations: 4 kB / 0.8939 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.00703/0.8686, allocations: 2.985 MB / 0.8968 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.8687, allocations: 197.2 kB / 0.897 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/0.8718, allocations: 1.833 MB / 0.8988 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002958/0.8721, allocations: 57.7 kB / 0.8989 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009015/0.873, allocations: 0.843 MB / 0.8997 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005246/0.8735, allocations: 485 kB / 0.9001 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005417/0.8741, allocations: 262.7 kB / 0.9004 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.8742, allocations: 357.9 kB / 0.9007 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.8755, allocations: 0.6077 MB / 0.9013 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.8768, allocations: 0.8091 MB / 0.9021 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.8793, allocations: 1.357 MB / 0.9034 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.8793, allocations: 4 kB / 0.9034 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004237/0.8835, allocations: 1.834 MB / 0.9052 GB, free: 20 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.8836, allocations: 7.938 kB / 0.9052 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.8836, allocations: 7.938 kB / 0.9053 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.8847, allocations: 204.2 kB / 0.9054 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.8864, allocations: 347.5 kB / 0.9058 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006348/0.8927, allocations: 7.317 MB / 0.9129 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.8947, allocations: 185.2 kB / 0.9131 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.8949, allocations: 59.95 kB / 0.9132 GB, free: 7.191 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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.001107/0.896, allocations: 487.8 kB / 0.9136 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/0.8966, allocations: 185.8 kB / 0.9138 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/0.9016, allocations: 2.148 MB / 0.9159 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.9017, allocations: 16 kB / 0.9159 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.9017, allocations: 0 / 0.9159 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.9017, allocations: 7.969 kB / 0.9159 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007765/0.9095, allocations: 4.032 MB / 0.9199 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.9095, allocations: 0 / 0.9199 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/0.911, allocations: 323.6 kB / 0.9202 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008963/0.9119, allocations: 204.1 kB / 0.9204 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.9121, allocations: 43.97 kB / 0.9204 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005883/0.918, allocations: 7.359 MB / 0.9276 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.918, allocations: 8 kB / 0.9276 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004247/0.9222, allocations: 2.01 MB / 0.9296 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009395/0.9232, allocations: 474.2 kB / 0.93 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/0.9236, allocations: 28 kB / 0.93 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.9251, allocations: 138.9 kB / 0.9302 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.9253, allocations: 109.2 kB / 0.9303 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/0.9255, allocations: 79.77 kB / 0.9304 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001868/0.9274, allocations: 1.302 MB / 0.9316 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9274, allocations: 0 / 0.9316 GB, free: 3.395 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001915/0.9293, allocations: 0.6664 MB / 0.9323 GB, free: 2.727 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001878/0.9312, allocations: 0.7486 MB / 0.933 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005438/0.9366, allocations: 2.531 MB / 0.9355 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.9367, allocations: 8.609 kB / 0.9355 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.9388, allocations: 1.426 MB / 0.9369 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/0.9415, allocations: 0.5381 MB / 0.9374 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008291/0.9498, allocations: 4.847 MB / 0.9421 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/0.9511, allocations: 1.548 MB / 0.9436 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002001/0.9531, allocations: 0.4967 MB / 0.9441 GB, free: 6.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005547/0.9537, allocations: 171.4 kB / 0.9443 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.9537, allocations: 0 / 0.9443 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of Templates: time 0.07808/1.032, allocations: 31.16 MB / 0.9747 GB, free: 7.613 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)