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.0009883/0.0009883, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009897/0.0009898, allocations: 197.5 kB / 16.14 MB, free: 6.664 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.171/1.171, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.00191, allocations: 271.1 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8516/0.8516, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 87.22 kB / 0.5946 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1203, allocations: 86.98 MB / 0.6795 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.3809/0.5012, allocations: 164.9 MB / 0.8406 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01626/0.5175, allocations: 17.28 MB / 0.8574 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009778/0.5185, allocations: 29.59 kB / 0.8575 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.5197, allocations: 464.6 kB / 0.8579 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.5229, allocations: 1.495 MB / 0.8594 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.5253, allocations: 1.266 MB / 0.8606 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002038/0.5274, allocations: 2.916 MB / 0.8635 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.5291, allocations: 1.87 MB / 0.8653 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/0.533, allocations: 1.24 MB / 0.8665 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009372/0.5339, allocations: 1.073 MB / 0.8675 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.5342, allocations: 118.5 kB / 0.8677 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.5367, allocations: 1.577 MB / 0.8692 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005015/0.5372, allocations: 0.7032 MB / 0.8699 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008949/0.5381, allocations: 1.14 MB / 0.871 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003074/0.5412, allocations: 3.572 MB / 0.8745 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5412, allocations: 0 / 0.8745 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.72e-07/0.5412, allocations: 0 / 0.8745 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.132e-05/0.5413, allocations: 0 / 0.8745 GB, free: 11.93 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.004308/0.5456, allocations: 2.923 MB / 0.8773 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.5456, allocations: 10 kB / 0.8774 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002545/0.5459, allocations: 249.2 kB / 0.8776 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003374/0.5493, allocations: 0.5665 MB / 0.8781 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003328/0.5526, allocations: 3.402 MB / 0.8815 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/0.5527, allocations: 129.8 kB / 0.8816 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.5529, allocations: 169 kB / 0.8818 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.5557, allocations: 1.96 MB / 0.8837 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.5557, allocations: 7.938 kB / 0.8837 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.5559, allocations: 73.12 kB / 0.8837 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.5559, allocations: 42.97 kB / 0.8838 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/0.559, allocations: 2.115 MB / 0.8858 GB, free: 4.586 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.007834/0.5668, allocations: 6.364 MB / 0.8921 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002995/0.5699, allocations: 2.133 MB / 0.8941 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.571, allocations: 0.7647 MB / 0.8949 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005191/0.5716, allocations: 433.6 kB / 0.8953 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001589/0.5732, allocations: 1.017 MB / 0.8963 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 2.515e-06/0.5732, allocations: 4 kB / 0.8963 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.00611/0.5793, allocations: 2.996 MB / 0.8992 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.5794, allocations: 193.2 kB / 0.8994 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/0.5832, allocations: 4.106 MB / 0.9034 GB, free: 2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.5833, allocations: 61.64 kB / 0.9035 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006213/0.5839, allocations: 0.8947 MB / 0.9044 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.5842, allocations: 481 kB / 0.9048 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000352/0.5846, allocations: 238.8 kB / 0.905 GB, free: 320 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5847, allocations: 357.9 kB / 0.9054 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.5858, allocations: 0.5843 MB / 0.906 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.587, allocations: 0.8164 MB / 0.9068 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002212/0.5892, allocations: 1.333 MB / 0.9081 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.5892, allocations: 0 / 0.9081 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003497/0.5927, allocations: 1.795 MB / 0.9098 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5928, allocations: 8 kB / 0.9098 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.5928, allocations: 3.938 kB / 0.9098 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009868/0.5938, allocations: 216.2 kB / 0.91 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/0.5952, allocations: 323.6 kB / 0.9103 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005201/0.6004, allocations: 6.805 MB / 0.917 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.6018, allocations: 197.7 kB / 0.9172 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.906e-05/0.6019, allocations: 51.95 kB / 0.9172 GB, free: 3.055 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: 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.0008516/0.6028, allocations: 494.8 kB / 0.9177 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.6031, allocations: 193.6 kB / 0.9179 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004335/0.6075, allocations: 2.157 MB / 0.92 GB, free: 188 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.6075, allocations: 16 kB / 0.92 GB, free: 172 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6075, allocations: 4 kB / 0.92 GB, free: 168 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.6075, allocations: 7.969 kB / 0.92 GB, free: 160 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006391/0.6139, allocations: 4.147 MB / 0.9241 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.614, allocations: 8 kB / 0.9241 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.6154, allocations: 323.5 kB / 0.9244 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000883/0.6163, allocations: 212.1 kB / 0.9246 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.6164, allocations: 43.95 kB / 0.9246 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005298/0.6217, allocations: 6.835 MB / 0.9313 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.6217, allocations: 0 / 0.9313 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004007/0.6257, allocations: 2.018 MB / 0.9333 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000993/0.6267, allocations: 0.5175 MB / 0.9338 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000357/0.6271, allocations: 32 kB / 0.9338 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.6286, allocations: 131.3 kB / 0.9339 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.6289, allocations: 117.1 kB / 0.934 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/0.629, allocations: 63.95 kB / 0.9341 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003106/0.6321, allocations: 3.149 MB / 0.9372 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6321, allocations: 4 kB / 0.9372 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001676/0.6338, allocations: 0.6704 MB / 0.9378 GB, free: 13.1 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.005613/0.6394, allocations: 3.246 MB / 0.941 GB, free: 10 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003091/0.6425, allocations: 2.063 MB / 0.943 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.6426, allocations: 8.547 kB / 0.943 GB, free: 7.863 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.6444, allocations: 1.426 MB / 0.9444 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.6464, allocations: 0.4988 MB / 0.9449 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0297/0.6761, allocations: 23.63 MB / 0.968 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009982/0.6771, allocations: 1.541 MB / 0.9695 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001678/0.6788, allocations: 0.5287 MB / 0.97 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/0.6799, allocations: 0.9014 MB / 0.9709 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of SimCode: time 3.11e-07/0.6799, allocations: 0 / 0.9709 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.509/3.189, allocations: 46.88 MB / 1.017 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003107/3.189, allocations: 302.6 kB / 1.017 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.053/6.242, allocations: 4 kB / 1.017 GB, free: 11.75 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)