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.0011/0.001101, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.001345/0.001345, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.319/1.319, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002152/0.002152, allocations: 290.9 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9549/0.9549, allocations: 169.3 MB / 0.4988 GB, free: 4.512 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 97.03 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1645, allocations: 86.97 MB / 0.6808 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4831/0.6476, allocations: 167.2 MB / 0.8441 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02628/0.6739, allocations: 17.22 MB / 0.8609 GB, free: 6.52 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.6755, allocations: 27.81 kB / 0.861 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.6777, allocations: 0.5313 MB / 0.8615 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005665/0.6834, allocations: 1.693 MB / 0.8631 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.6875, allocations: 1.416 MB / 0.8645 GB, free: 2.863 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003722/0.6912, allocations: 2.666 MB / 0.8671 GB, free: 192 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003458/0.6947, allocations: 1.998 MB / 0.8691 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004272/0.699, allocations: 1.393 MB / 0.8704 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.7009, allocations: 1.093 MB / 0.8715 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006708/0.7016, allocations: 224 kB / 0.8717 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.7051, allocations: 1.521 MB / 0.8732 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.7062, allocations: 0.8063 MB / 0.874 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.7083, allocations: 1.177 MB / 0.8751 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005965/0.7143, allocations: 3.482 MB / 0.8785 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.7144, allocations: 0 / 0.8785 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.324e-06/0.7144, allocations: 0 / 0.8785 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001241/0.7145, allocations: 0 / 0.8785 GB, free: 4.473 MB / 0.6387 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.006677/0.7212, allocations: 2.767 MB / 0.8812 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.7212, allocations: 8.031 kB / 0.8813 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003971/0.7252, allocations: 0.5629 MB / 0.8818 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.7281, allocations: 1.593 MB / 0.8834 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.7283, allocations: 131.4 kB / 0.8835 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/0.7286, allocations: 172 kB / 0.8837 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/0.7327, allocations: 1.964 MB / 0.8856 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.7327, allocations: 0 / 0.8856 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.733, allocations: 72 kB / 0.8856 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.733, allocations: 47.98 kB / 0.8857 GB, free: 13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003878/0.7369, allocations: 2.113 MB / 0.8877 GB, free: 10.88 MB / 0.6544 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.01062/0.7475, allocations: 5.869 MB / 0.8935 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/0.7513, allocations: 2.129 MB / 0.8956 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.7526, allocations: 0.7608 MB / 0.8963 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006333/0.7533, allocations: 437.6 kB / 0.8967 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001849/0.7551, allocations: 1.017 MB / 0.8977 GB, free: 252 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=146): time 3.667e-06/0.7552, allocations: 0 / 0.8977 GB, free: 252 kB / 0.6544 GB Notification: Performance of matching and sorting (n=146): time 0.00713/0.7623, allocations: 2.989 MB / 0.9006 GB, free: 13.14 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.7624, allocations: 197.2 kB / 0.9008 GB, free: 12.91 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.7652, allocations: 1.829 MB / 0.9026 GB, free: 11.07 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.7654, allocations: 57.7 kB / 0.9027 GB, free: 11 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007834/0.7662, allocations: 0.8509 MB / 0.9035 GB, free: 10.14 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/0.7666, allocations: 481 kB / 0.9039 GB, free: 9.664 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/0.7671, allocations: 258.8 kB / 0.9042 GB, free: 9.406 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7673, allocations: 357.9 kB / 0.9045 GB, free: 9.051 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.7685, allocations: 0.6077 MB / 0.9051 GB, free: 8.441 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.77, allocations: 0.8129 MB / 0.9059 GB, free: 7.578 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/0.7726, allocations: 1.36 MB / 0.9073 GB, free: 6.203 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.7726, allocations: 0 / 0.9073 GB, free: 6.203 MB / 0.67 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004361/0.777, allocations: 1.838 MB / 0.909 GB, free: 4.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.777, allocations: 7.938 kB / 0.9091 GB, free: 4.332 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.777, allocations: 64 / 0.9091 GB, free: 4.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.7781, allocations: 208.1 kB / 0.9093 GB, free: 4.113 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.7798, allocations: 347.5 kB / 0.9096 GB, free: 3.773 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006521/0.7863, allocations: 7.312 MB / 0.9167 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.7881, allocations: 173.9 kB / 0.9169 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/0.7884, allocations: 51.95 kB / 0.9169 GB, free: 11.54 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: 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.001344/0.7898, allocations: 499.3 kB / 0.9174 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006348/0.7904, allocations: 185.8 kB / 0.9176 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/0.7956, allocations: 2.148 MB / 0.9197 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.7956, allocations: 16 kB / 0.9197 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.7956, allocations: 4 kB / 0.9197 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.7957, allocations: 7.969 kB / 0.9197 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007899/0.8036, allocations: 4.029 MB / 0.9237 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.8036, allocations: 0 / 0.9237 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/0.8051, allocations: 327.5 kB / 0.924 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009272/0.8061, allocations: 204.1 kB / 0.9242 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.8062, allocations: 39.97 kB / 0.9242 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006247/0.8125, allocations: 7.357 MB / 0.9314 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8125, allocations: 7.875 kB / 0.9314 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004766/0.8173, allocations: 2.014 MB / 0.9334 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009928/0.8183, allocations: 474.2 kB / 0.9338 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/0.8187, allocations: 28 kB / 0.9338 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.8201, allocations: 101.8 kB / 0.9339 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/0.8204, allocations: 121.1 kB / 0.934 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/0.8207, allocations: 71.95 kB / 0.9341 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002042/0.8227, allocations: 1.306 MB / 0.9354 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8227, allocations: 0 / 0.9354 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001978/0.8247, allocations: 0.6625 MB / 0.936 GB, free: 7.098 MB / 0.7012 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.002017/0.8267, allocations: 0.7563 MB / 0.9368 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005706/0.8324, allocations: 2.539 MB / 0.9393 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/0.8325, allocations: 8.547 kB / 0.9393 GB, free: 3.91 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002305/0.8348, allocations: 1.426 MB / 0.9407 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.8376, allocations: 0.5364 MB / 0.9412 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008487/0.8461, allocations: 3.955 MB / 0.945 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001427/0.8476, allocations: 1.494 MB / 0.9465 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007902/0.8484, allocations: 191.3 kB / 0.9467 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.8484, allocations: 0 / 0.9467 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of Templates: time 0.327/1.175, allocations: 67.22 MB / 1.012 GB, free: 215.5 MB / 0.7169 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)