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.006451/0.006451, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.001384/0.001384, allocations: 200.3 kB / 16.68 MB, free: 5.98 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 289.8 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.9228/0.9228, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 100.1 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4675, allocations: 86.98 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1823/0.6498, allocations: 167.2 MB / 0.9297 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02292/0.6727, allocations: 17.23 MB / 0.9465 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.6746, allocations: 31.81 kB / 0.9465 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.6764, allocations: 0.5469 MB / 0.9471 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005282/0.6817, allocations: 1.732 MB / 0.9488 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.6854, allocations: 1.431 MB / 0.9501 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003486/0.6889, allocations: 2.689 MB / 0.9528 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00259/0.6915, allocations: 2.002 MB / 0.9547 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003976/0.6955, allocations: 1.448 MB / 0.9561 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5062/1.202, allocations: 1.082 MB / 0.9572 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00102/1.203, allocations: 221.7 kB / 0.9574 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/1.207, allocations: 1.558 MB / 0.9589 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009221/1.208, allocations: 0.7954 MB / 0.9597 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001582/1.21, allocations: 1.186 MB / 0.9609 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006968/1.217, allocations: 3.552 MB / 0.9643 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.217, allocations: 0 / 0.9643 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.888e-06/1.217, allocations: 1.312 kB / 0.9643 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.348e-05/1.217, allocations: 0.5312 kB / 0.9643 GB, free: 5.82 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.005918/1.223, allocations: 2.753 MB / 0.967 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/1.223, allocations: 10.78 kB / 0.967 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/1.227, allocations: 0.5605 MB / 0.9676 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/1.229, allocations: 1.642 MB / 0.9692 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.331e-05/1.229, allocations: 128.5 kB / 0.9693 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/1.229, allocations: 170.3 kB / 0.9695 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003068/1.232, allocations: 1.955 MB / 0.9714 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/1.233, allocations: 2.5 kB / 0.9714 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/1.233, allocations: 76.17 kB / 0.9715 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/1.233, allocations: 40.72 kB / 0.9715 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003143/1.236, allocations: 2.116 MB / 0.9736 GB, free: 3.723 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.008475/1.244, allocations: 5.806 MB / 0.9792 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/1.248, allocations: 2.139 MB / 0.9813 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/1.249, allocations: 0.7704 MB / 0.9821 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/1.249, allocations: 428.2 kB / 0.9825 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001723/1.251, allocations: 1.01 MB / 0.9835 GB, free: 17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.126e-06/1.251, allocations: 0 / 0.9835 GB, free: 17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006794/1.258, allocations: 2.991 MB / 0.9864 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/1.258, allocations: 198.2 kB / 0.9866 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002471/1.261, allocations: 1.832 MB / 0.9884 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001602/1.261, allocations: 58.86 kB / 0.9884 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006243/1.261, allocations: 0.8422 MB / 0.9892 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003318/1.262, allocations: 486.3 kB / 0.9897 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003686/1.262, allocations: 259.1 kB / 0.99 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.262, allocations: 354.8 kB / 0.9903 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/1.263, allocations: 0.6079 MB / 0.9909 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001282/1.265, allocations: 0.8108 MB / 0.9917 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/1.267, allocations: 1.357 MB / 0.993 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.267, allocations: 0 / 0.993 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003584/1.271, allocations: 1.841 MB / 0.9948 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.271, allocations: 4.75 kB / 0.9948 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/1.271, allocations: 4.094 kB / 0.9948 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000975/1.272, allocations: 210.2 kB / 0.995 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/1.273, allocations: 339.8 kB / 0.9953 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005759/1.279, allocations: 7.331 MB / 1.002 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/1.281, allocations: 163 kB / 1.003 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.281, allocations: 58.39 kB / 1.003 GB, free: 7.699 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: 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.001121/1.282, allocations: 491.2 kB / 1.003 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003983/1.282, allocations: 184.7 kB / 1.003 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/1.286, allocations: 2.14 MB / 1.005 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/1.287, allocations: 16.44 kB / 1.005 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/1.287, allocations: 5.703 kB / 1.005 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/1.287, allocations: 15.73 kB / 1.005 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006573/1.293, allocations: 4.009 MB / 1.009 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.293, allocations: 0 / 1.009 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.295, allocations: 324.4 kB / 1.01 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000816/1.295, allocations: 197.7 kB / 1.01 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/1.295, allocations: 47.48 kB / 1.01 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005821/1.301, allocations: 7.358 MB / 1.017 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.301, allocations: 0 / 1.017 GB, free: 48 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004347/1.306, allocations: 2.011 MB / 1.019 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.307, allocations: 471.3 kB / 1.02 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005511/1.307, allocations: 34.11 kB / 1.02 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/1.309, allocations: 116.1 kB / 1.02 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/1.309, allocations: 113 kB / 1.02 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/1.31, allocations: 73 kB / 1.02 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002392/1.312, allocations: 1.31 MB / 1.021 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.312, allocations: 0 / 1.021 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002594/1.315, allocations: 0.6524 MB / 1.022 GB, free: 15.3 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.002441/1.317, allocations: 0.7684 MB / 1.023 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004349/1.321, allocations: 2.111 MB / 1.025 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.322, allocations: 1.719 kB / 1.025 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002406/1.324, allocations: 1.421 MB / 1.026 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/1.327, allocations: 0.5221 MB / 1.026 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008708/1.336, allocations: 3.959 MB / 1.03 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/1.337, allocations: 1.537 MB / 1.032 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0023/1.34, allocations: 0.498 MB / 1.032 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006533/1.34, allocations: 176.8 kB / 1.033 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of SimCode: time 1.273e-06/1.34, allocations: 0 / 1.033 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.05675/1.397, allocations: 31.64 MB / 1.063 GB, free: 320 kB / 0.7637 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)