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.001757/0.001757, 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.002045/0.002045, allocations: 194.9 kB / 16.25 MB, free: 6.625 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.512/1.512, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002599/0.002599, allocations: 279.7 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.083/1.083, allocations: 178.6 MB / 0.507 GB, free: 4.688 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 97.48 kB / 0.6059 GB, free: 24.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1814, allocations: 89.15 MB / 0.693 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4881/0.6695, allocations: 166.1 MB / 0.8552 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0237/0.6933, allocations: 17.18 MB / 0.872 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001751/0.6951, allocations: 29.5 kB / 0.872 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.6967, allocations: 496 kB / 0.8725 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004967/0.7017, allocations: 1.642 MB / 0.8741 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.7051, allocations: 1.3 MB / 0.8754 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00326/0.7084, allocations: 2.877 MB / 0.8782 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002294/0.7107, allocations: 1.961 MB / 0.8801 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005775/0.7165, allocations: 1.425 MB / 0.8815 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.7181, allocations: 1.16 MB / 0.8826 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003424/0.7184, allocations: 220 kB / 0.8828 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003247/0.7217, allocations: 1.568 MB / 0.8843 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007839/0.7225, allocations: 0.7946 MB / 0.8851 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0014/0.7239, allocations: 1.236 MB / 0.8863 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005197/0.7291, allocations: 3.61 MB / 0.8899 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7291, allocations: 0 / 0.8899 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.976e-06/0.7291, allocations: 0 / 0.8899 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.127e-05/0.7292, allocations: 0 / 0.8899 GB, free: 2.328 MB / 0.6075 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.005471/0.7347, allocations: 2.786 MB / 0.8926 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.7347, allocations: 15.97 kB / 0.8926 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003911/0.7387, allocations: 0.5629 MB / 0.8931 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.7411, allocations: 1.6 MB / 0.8947 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.7413, allocations: 127.4 kB / 0.8948 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.7415, allocations: 172 kB / 0.895 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/0.7453, allocations: 1.96 MB / 0.8969 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.7454, allocations: 0 / 0.8969 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.7456, allocations: 76 kB / 0.897 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.7456, allocations: 40 kB / 0.897 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003969/0.7496, allocations: 2.116 MB / 0.8991 GB, free: 8.707 MB / 0.6231 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.01085/0.7605, allocations: 6.232 MB / 0.9052 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/0.7643, allocations: 2.127 MB / 0.9072 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.7658, allocations: 0.7725 MB / 0.908 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007447/0.7666, allocations: 425.6 kB / 0.9084 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/0.7686, allocations: 1.028 MB / 0.9094 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=146): time 3.406e-06/0.7687, allocations: 0 / 0.9094 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146): time 0.007581/0.7762, allocations: 2.985 MB / 0.9123 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.7764, allocations: 197.2 kB / 0.9125 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.7793, allocations: 1.83 MB / 0.9143 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002222/0.7795, allocations: 57.7 kB / 0.9144 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009031/0.7804, allocations: 0.8507 MB / 0.9152 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005572/0.781, allocations: 485 kB / 0.9156 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004622/0.7814, allocations: 254.8 kB / 0.9159 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.7816, allocations: 357.9 kB / 0.9162 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.7829, allocations: 0.6077 MB / 0.9168 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.7845, allocations: 0.8131 MB / 0.9176 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/0.7872, allocations: 1.357 MB / 0.9189 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.7872, allocations: 4 kB / 0.9189 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005137/0.7924, allocations: 1.838 MB / 0.9207 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.7924, allocations: 7.938 kB / 0.9207 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.7924, allocations: 4 kB / 0.9208 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.7937, allocations: 220.1 kB / 0.921 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.7955, allocations: 331.6 kB / 0.9213 GB, free: 1.145 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00746/0.803, allocations: 7.33 MB / 0.9284 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001951/0.805, allocations: 184.7 kB / 0.9286 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/0.8051, allocations: 59.95 kB / 0.9287 GB, free: 8.875 MB / 0.6544 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.00107/0.8062, allocations: 491.8 kB / 0.9291 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/0.8067, allocations: 181.8 kB / 0.9293 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00533/0.812, allocations: 2.148 MB / 0.9314 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.8121, allocations: 16 kB / 0.9314 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.8121, allocations: 8 kB / 0.9314 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.099e-05/0.8121, allocations: 7.969 kB / 0.9314 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008825/0.8209, allocations: 4.022 MB / 0.9354 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.821, allocations: 7.984 kB / 0.9354 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.8226, allocations: 327.5 kB / 0.9357 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009816/0.8236, allocations: 204.1 kB / 0.9359 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/0.8237, allocations: 39.97 kB / 0.9359 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007358/0.8311, allocations: 7.356 MB / 0.9431 GB, free: 9.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8311, allocations: 3.938 kB / 0.9431 GB, free: 9.246 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00574/0.8369, allocations: 2.01 MB / 0.9451 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.8382, allocations: 470.3 kB / 0.9455 GB, free: 6.723 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005342/0.8388, allocations: 35.94 kB / 0.9456 GB, free: 6.688 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/0.8407, allocations: 134.9 kB / 0.9457 GB, free: 6.559 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003301/0.8411, allocations: 117.1 kB / 0.9458 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/0.8413, allocations: 71.95 kB / 0.9459 GB, free: 6.375 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00244/0.8438, allocations: 1.306 MB / 0.9471 GB, free: 5.074 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8438, allocations: 0 / 0.9471 GB, free: 5.074 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002456/0.8462, allocations: 0.6937 MB / 0.9478 GB, free: 4.379 MB / 0.67 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.00274/0.849, allocations: 0.7547 MB / 0.9486 GB, free: 3.809 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006771/0.8558, allocations: 2.539 MB / 0.951 GB, free: 1.203 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/0.8558, allocations: 8.547 kB / 0.951 GB, free: 1.195 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002942/0.8588, allocations: 1.426 MB / 0.9524 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003553/0.8624, allocations: 0.5514 MB / 0.953 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00969/0.8721, allocations: 4.746 MB / 0.9576 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.8741, allocations: 1.537 MB / 0.9591 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002664/0.8768, allocations: 0.5085 MB / 0.9596 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/0.8776, allocations: 175.3 kB / 0.9598 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of SimCode: time 8.61e-07/0.8776, allocations: 0 / 0.9598 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of Templates: time 0.06594/0.9435, allocations: 32 MB / 0.991 GB, free: 8.535 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)