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.001069/0.001069, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001131/0.001131, allocations: 189.1 kB / 16.25 MB, free: 6.637 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.336/1.336, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 279.2 kB / 290.3 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.00161, allocations: 103.5 kB / 0.5948 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1566, allocations: 86.98 MB / 0.6797 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4379/0.5945, allocations: 164.9 MB / 0.8408 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.613, allocations: 17.05 MB / 0.8574 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.6147, allocations: 27.53 kB / 0.8575 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.6163, allocations: 467.8 kB / 0.8579 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004717/0.621, allocations: 1.54 MB / 0.8594 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.6242, allocations: 1.291 MB / 0.8607 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002879/0.6271, allocations: 2.683 MB / 0.8633 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002249/0.6293, allocations: 2.011 MB / 0.8652 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004839/0.6342, allocations: 1.399 MB / 0.8666 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.6357, allocations: 1.132 MB / 0.8677 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004619/0.6361, allocations: 224 kB / 0.8679 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.6391, allocations: 1.562 MB / 0.8695 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006682/0.6398, allocations: 0.8047 MB / 0.8702 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.6409, allocations: 1.247 MB / 0.8715 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004171/0.6451, allocations: 3.671 MB / 0.875 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6451, allocations: 0 / 0.875 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6451, allocations: 6.531 kB / 0.8751 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.789e-05/0.6451, allocations: 0 / 0.8751 GB, free: 11.71 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.004378/0.6495, allocations: 2.92 MB / 0.8779 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6496, allocations: 7.562 kB / 0.8779 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002622/0.6498, allocations: 247.7 kB / 0.8781 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/0.6535, allocations: 0.5664 MB / 0.8787 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/0.6569, allocations: 3.399 MB / 0.882 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.589e-05/0.657, allocations: 125.6 kB / 0.8821 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.6572, allocations: 173.6 kB / 0.8823 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.6603, allocations: 1.956 MB / 0.8842 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.6603, allocations: 0 / 0.8842 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.6605, allocations: 74.22 kB / 0.8843 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.6605, allocations: 41.75 kB / 0.8843 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.6639, allocations: 2.116 MB / 0.8864 GB, free: 4.082 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.008598/0.6725, allocations: 6.37 MB / 0.8926 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/0.6758, allocations: 2.133 MB / 0.8947 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.677, allocations: 0.7693 MB / 0.8954 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/0.6776, allocations: 433.6 kB / 0.8959 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/0.6794, allocations: 1.013 MB / 0.8969 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=146): time 2.915e-06/0.6794, allocations: 3.938 kB / 0.8969 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=146): time 0.006784/0.6862, allocations: 2.992 MB / 0.8998 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.6863, allocations: 201.2 kB / 0.9 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004393/0.6907, allocations: 4.098 MB / 0.904 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.691, allocations: 61.7 kB / 0.904 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007054/0.6917, allocations: 0.8869 MB / 0.9049 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000409/0.6921, allocations: 485 kB / 0.9054 GB, free: 52 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.6925, allocations: 246.8 kB / 0.9056 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6926, allocations: 357.9 kB / 0.9059 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.6937, allocations: 0.5765 MB / 0.9065 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.695, allocations: 0.8125 MB / 0.9073 GB, free: 14 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.6973, allocations: 1.337 MB / 0.9086 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6973, allocations: 0 / 0.9086 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.0039/0.7012, allocations: 1.795 MB / 0.9103 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.7012, allocations: 8 kB / 0.9104 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.7012, allocations: 64 / 0.9104 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.7023, allocations: 216 kB / 0.9106 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.7039, allocations: 331.6 kB / 0.9109 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005581/0.7095, allocations: 7.333 MB / 0.918 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.7112, allocations: 185 kB / 0.9182 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7113, allocations: 51.97 kB / 0.9183 GB, free: 2 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.0008645/0.7122, allocations: 494 kB / 0.9187 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.7125, allocations: 197.6 kB / 0.9189 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004417/0.717, allocations: 2.154 MB / 0.921 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.717, allocations: 20 kB / 0.921 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.717, allocations: 0 / 0.921 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.717, allocations: 11.91 kB / 0.9211 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006479/0.7235, allocations: 4.155 MB / 0.9251 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.7235, allocations: 4 kB / 0.9251 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001459/0.725, allocations: 319.5 kB / 0.9254 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000849/0.7259, allocations: 200.1 kB / 0.9256 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.726, allocations: 39.97 kB / 0.9257 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005578/0.7316, allocations: 7.367 MB / 0.9328 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7316, allocations: 4.031 kB / 0.9329 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004025/0.7356, allocations: 2.022 MB / 0.9348 GB, free: 176 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/0.7365, allocations: 0.5099 MB / 0.9353 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.7367, allocations: 31.91 kB / 0.9354 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.7381, allocations: 132.9 kB / 0.9355 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.7383, allocations: 117.1 kB / 0.9356 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001624/0.7385, allocations: 67.95 kB / 0.9357 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003038/0.7415, allocations: 3.145 MB / 0.9387 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.744e-06/0.7416, allocations: 0 / 0.9387 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001701/0.7433, allocations: 0.6664 MB / 0.9394 GB, free: 11.5 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.005838/0.7491, allocations: 3.238 MB / 0.9425 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005227/0.7543, allocations: 2.512 MB / 0.945 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.7544, allocations: 4.547 kB / 0.945 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.7564, allocations: 1.422 MB / 0.9464 GB, free: 4.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.7587, allocations: 0.5347 MB / 0.9469 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03501/0.7938, allocations: 23.65 MB / 0.97 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.795, allocations: 1.544 MB / 0.9715 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002073/0.797, allocations: 0.5208 MB / 0.972 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/0.7983, allocations: 0.9132 MB / 0.9729 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of SimCode: time 7.62e-07/0.7983, allocations: 0 / 0.9729 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07908/0.8774, allocations: 48.04 MB / 1.02 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.8776, allocations: 296.7 kB / 1.02 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/4.047, allocations: 3.875 kB / 1.02 GB, free: 8.547 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)