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: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008409/0.000841, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004945/0.004945, allocations: 170.4 kB / 16.27 MB, free: 6.652 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.2/1.2, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001607/0.001607, allocations: 270.8 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8525/0.8525, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 15.88 kB / 0.5988 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4781/0.6092, allocations: 162.7 MB / 0.8441 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01846/0.6276, allocations: 17.05 MB / 0.8608 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.6289, allocations: 25.72 kB / 0.8608 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.6301, allocations: 454.1 kB / 0.8612 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/0.6339, allocations: 1.506 MB / 0.8627 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.6367, allocations: 1.266 MB / 0.8639 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002739/0.6395, allocations: 2.908 MB / 0.8668 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/0.6419, allocations: 1.731 MB / 0.8684 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005107/0.647, allocations: 1.089 MB / 0.8695 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.6482, allocations: 0.8823 MB / 0.8704 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.6484, allocations: 49.69 kB / 0.8704 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.6517, allocations: 1.507 MB / 0.8719 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005989/0.6523, allocations: 0.6079 MB / 0.8725 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.6534, allocations: 1.025 MB / 0.8735 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.6574, allocations: 3.476 MB / 0.8769 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6574, allocations: 0 / 0.8769 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6574, allocations: 4 kB / 0.8769 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.169e-05/0.6575, allocations: 7.875 kB / 0.8769 GB, free: 11.14 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.003995/0.6615, allocations: 2.421 MB / 0.8793 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6615, allocations: 8.031 kB / 0.8793 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002907/0.6618, allocations: 248.9 kB / 0.8795 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/0.6653, allocations: 0.5745 MB / 0.8801 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003575/0.6688, allocations: 3.41 MB / 0.8834 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.209e-05/0.6689, allocations: 127.4 kB / 0.8835 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.6692, allocations: 168 kB / 0.8837 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/0.6723, allocations: 1.972 MB / 0.8856 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.6723, allocations: 0 / 0.8856 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.6725, allocations: 76 kB / 0.8857 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.6725, allocations: 40 kB / 0.8857 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.6759, allocations: 2.136 MB / 0.8878 GB, free: 100 kB / 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.008417/0.6843, allocations: 6.413 MB / 0.8941 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.6875, allocations: 2.141 MB / 0.8962 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.6888, allocations: 0.7764 MB / 0.8969 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005193/0.6893, allocations: 437.5 kB / 0.8973 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.691, allocations: 1.035 MB / 0.8983 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 4.479e-06/0.691, allocations: 0 / 0.8983 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006364/0.6974, allocations: 3.035 MB / 0.9013 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.6975, allocations: 201.2 kB / 0.9015 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004666/0.7021, allocations: 4.098 MB / 0.9055 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.7023, allocations: 57.7 kB / 0.9056 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00084/0.7032, allocations: 0.8947 MB / 0.9064 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000536/0.7037, allocations: 481 kB / 0.9069 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.7038, allocations: 93.67 kB / 0.907 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.704, allocations: 357.9 kB / 0.9073 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.7051, allocations: 0.5999 MB / 0.9079 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.7064, allocations: 0.8164 MB / 0.9087 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002381/0.7088, allocations: 1.357 MB / 0.91 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7088, allocations: 0 / 0.91 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003756/0.7126, allocations: 1.822 MB / 0.9118 GB, free: 6.797 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.7126, allocations: 7.984 kB / 0.9118 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.7126, allocations: 4 kB / 0.9118 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009842/0.7136, allocations: 208.2 kB / 0.912 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/0.7152, allocations: 331.5 kB / 0.9123 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006139/0.7214, allocations: 6.818 MB / 0.919 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.7233, allocations: 199.5 kB / 0.9192 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.7235, allocations: 51.97 kB / 0.9192 GB, free: 14.51 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: 15 (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 (145): * Single equations (assignments): 140 * 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.001057/0.7245, allocations: 494 kB / 0.9197 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.7249, allocations: 193.7 kB / 0.9199 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.7295, allocations: 2.177 MB / 0.922 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/0.7296, allocations: 16 kB / 0.922 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.7296, allocations: 4 kB / 0.922 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.7296, allocations: 7.969 kB / 0.922 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007997/0.7376, allocations: 4.17 MB / 0.9261 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.7377, allocations: 48 / 0.9261 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.7391, allocations: 327.5 kB / 0.9264 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.7401, allocations: 216 kB / 0.9266 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.273e-05/0.7403, allocations: 39.97 kB / 0.9267 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006442/0.7467, allocations: 6.855 MB / 0.9334 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7467, allocations: 0 / 0.9334 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/0.7512, allocations: 2.042 MB / 0.9354 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008959/0.7522, allocations: 0.5253 MB / 0.9359 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/0.7524, allocations: 31.98 kB / 0.9359 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/0.7538, allocations: 156.9 kB / 0.936 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/0.754, allocations: 113.2 kB / 0.9362 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/0.7542, allocations: 75.94 kB / 0.9362 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004249/0.7584, allocations: 3.145 MB / 0.9393 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.914e-06/0.7585, allocations: 0 / 0.9393 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001814/0.7603, allocations: 0.6664 MB / 0.9399 GB, free: 8.438 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: 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.005812/0.7662, allocations: 3.25 MB / 0.9431 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003488/0.7697, allocations: 2.098 MB / 0.9452 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.7697, allocations: 4.547 kB / 0.9452 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.7717, allocations: 1.434 MB / 0.9466 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.7741, allocations: 0.5023 MB / 0.9471 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03376/0.8079, allocations: 23.74 MB / 0.9702 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.809, allocations: 1.549 MB / 0.9718 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00194/0.811, allocations: 0.5325 MB / 0.9723 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/0.8122, allocations: 0.9015 MB / 0.9732 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of SimCode: time 6.21e-07/0.8122, allocations: 0 / 0.9732 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07156/0.8837, allocations: 45.87 MB / 1.018 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.884, allocations: 298.5 kB / 1.018 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/4.051, allocations: 0 / 1.018 GB, free: 7.934 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)