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.00574/0.00574, allocations: 105 kB / 15.74 MB, free: 5.996 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.001139/0.001139, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 290.6 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9051/0.9051, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002015, allocations: 91.86 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4203, allocations: 86.98 MB / 0.7659 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1557/0.576, allocations: 167.2 MB / 0.9292 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.5938, allocations: 17.24 MB / 0.946 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.5949, allocations: 35.75 kB / 0.9461 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.5963, allocations: 0.5352 MB / 0.9466 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.6002, allocations: 1.68 MB / 0.9482 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.603, allocations: 1.423 MB / 0.9496 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002367/0.6054, allocations: 2.685 MB / 0.9522 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.6073, allocations: 2.01 MB / 0.9542 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.6107, allocations: 1.402 MB / 0.9556 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.401/1.012, allocations: 1.09 MB / 0.9566 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008946/1.013, allocations: 221.7 kB / 0.9568 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004218/1.017, allocations: 1.551 MB / 0.9584 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009769/1.018, allocations: 0.8046 MB / 0.9591 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001397/1.019, allocations: 1.244 MB / 0.9604 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006018/1.025, allocations: 3.684 MB / 0.964 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.025, allocations: 0 / 0.964 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.615e-06/1.025, allocations: 1.781 kB / 0.964 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.439e-05/1.025, allocations: 0 / 0.964 GB, free: 5.867 MB / 0.7169 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.005859/1.031, allocations: 2.908 MB / 0.9668 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.031, allocations: 9.75 kB / 0.9668 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002682/1.032, allocations: 250.6 kB / 0.967 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003717/1.035, allocations: 0.5718 MB / 0.9676 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004452/1.04, allocations: 3.432 MB / 0.971 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.281e-05/1.04, allocations: 130.9 kB / 0.9711 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/1.04, allocations: 168.1 kB / 0.9712 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/1.043, allocations: 1.958 MB / 0.9732 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/1.043, allocations: 0 / 0.9732 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/1.044, allocations: 75.12 kB / 0.9732 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/1.044, allocations: 43.36 kB / 0.9733 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/1.047, allocations: 2.119 MB / 0.9753 GB, free: 3.641 MB / 0.7169 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.009127/1.056, allocations: 6.327 MB / 0.9815 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003051/1.059, allocations: 2.132 MB / 0.9836 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/1.06, allocations: 0.7759 MB / 0.9844 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006177/1.061, allocations: 430.6 kB / 0.9848 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/1.062, allocations: 1.018 MB / 0.9858 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.637e-06/1.062, allocations: 1.062 kB / 0.9858 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.00657/1.069, allocations: 2.992 MB / 0.9887 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.069, allocations: 200.6 kB / 0.9889 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004534/1.074, allocations: 4.097 MB / 0.9929 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003292/1.074, allocations: 65.92 kB / 0.9929 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006872/1.075, allocations: 0.8904 MB / 0.9938 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/1.075, allocations: 482.9 kB / 0.9943 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/1.075, allocations: 240.3 kB / 0.9945 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.076, allocations: 356 kB / 0.9948 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/1.077, allocations: 0.5831 MB / 0.9954 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/1.078, allocations: 0.8116 MB / 0.9962 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/1.08, allocations: 1.33 MB / 0.9975 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.08, allocations: 4.219 kB / 0.9975 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003899/1.084, allocations: 1.795 MB / 0.9993 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/1.084, allocations: 7.469 kB / 0.9993 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.084, allocations: 4.344 kB / 0.9993 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009967/1.085, allocations: 211.2 kB / 0.9995 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/1.086, allocations: 333 kB / 0.9998 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005271/1.092, allocations: 7.317 MB / 1.007 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/1.093, allocations: 175.8 kB / 1.007 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/1.093, allocations: 51.34 kB / 1.007 GB, free: 7.582 MB / 0.7325 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.001068/1.095, allocations: 491.4 kB / 1.008 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006579/1.095, allocations: 201.1 kB / 1.008 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004472/1.1, allocations: 2.152 MB / 1.01 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.1, allocations: 15.53 kB / 1.01 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.1, allocations: 3.312 kB / 1.01 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.1, allocations: 9.141 kB / 1.01 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007447/1.107, allocations: 4.136 MB / 1.014 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.107, allocations: 0 / 1.014 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/1.109, allocations: 323.2 kB / 1.014 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008229/1.109, allocations: 197.1 kB / 1.014 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/1.11, allocations: 43.66 kB / 1.015 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005086/1.115, allocations: 7.361 MB / 1.022 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.115, allocations: 0.7812 kB / 1.022 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/1.119, allocations: 2.027 MB / 1.024 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/1.12, allocations: 0.5151 MB / 1.024 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005088/1.121, allocations: 35.36 kB / 1.024 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.122, allocations: 114.5 kB / 1.024 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002363/1.122, allocations: 115 kB / 1.024 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.122, allocations: 70.41 kB / 1.025 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003159/1.126, allocations: 3.143 MB / 1.028 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.126, allocations: 0.9375 kB / 1.028 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002161/1.128, allocations: 0.6649 MB / 1.028 GB, free: 15.16 MB / 0.7481 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.006027/1.134, allocations: 3.23 MB / 1.031 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003695/1.138, allocations: 2.078 MB / 1.033 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.138, allocations: 6.797 kB / 1.033 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002084/1.14, allocations: 1.425 MB / 1.035 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/1.143, allocations: 0.5413 MB / 1.035 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03388/1.177, allocations: 21.25 MB / 1.056 GB, free: 8.676 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/1.178, allocations: 1.545 MB / 1.058 GB, free: 7.117 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001896/1.18, allocations: 0.5292 MB / 1.058 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/1.181, allocations: 0.9053 MB / 1.059 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of SimCode: time 6.81e-07/1.181, allocations: 0 / 1.059 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09413/1.275, allocations: 49.71 MB / 1.108 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.56, allocations: 12.34 kB / 1.108 GB, free: 4.707 MB / 0.8106 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)