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.001628/0.001628, allocations: 108 kB / 16.41 MB, free: 6.023 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.001549/0.001549, allocations: 194.4 kB / 17.34 MB, free: 5.629 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.43/1.43, allocations: 222.9 MB / 241 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.002545/0.002545, allocations: 294 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 91.86 kB / 0.6821 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4419, allocations: 86.98 MB / 0.767 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1995/0.6414, allocations: 167.7 MB / 0.9308 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02365/0.665, allocations: 17.26 MB / 0.9476 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.6665, allocations: 31.81 kB / 0.9477 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.6683, allocations: 0.5547 MB / 0.9482 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.6733, allocations: 1.721 MB / 0.9499 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.677, allocations: 1.437 MB / 0.9513 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003713/0.6807, allocations: 2.677 MB / 0.9539 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002421/0.6832, allocations: 1.67 MB / 0.9555 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004536/0.6877, allocations: 1.446 MB / 0.957 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4342/1.122, allocations: 1.084 MB / 0.958 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008753/1.123, allocations: 222.2 kB / 0.9582 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/1.127, allocations: 1.555 MB / 0.9598 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007897/1.128, allocations: 0.803 MB / 0.9605 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/1.129, allocations: 1.186 MB / 0.9617 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005046/1.134, allocations: 3.567 MB / 0.9652 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.134, allocations: 0 / 0.9652 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/1.134, allocations: 4 kB / 0.9652 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.899e-05/1.134, allocations: 0 / 0.9652 GB, free: 5.402 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.004739/1.139, allocations: 2.837 MB / 0.968 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/1.139, allocations: 9.719 kB / 0.968 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003822/1.143, allocations: 0.5728 MB / 0.9685 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/1.145, allocations: 1.654 MB / 0.9701 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.542e-05/1.145, allocations: 131.5 kB / 0.9703 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/1.145, allocations: 170.6 kB / 0.9704 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/1.148, allocations: 1.954 MB / 0.9723 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/1.148, allocations: 0.875 kB / 0.9723 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/1.148, allocations: 78.3 kB / 0.9724 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.325e-05/1.148, allocations: 44.53 kB / 0.9724 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003151/1.152, allocations: 2.114 MB / 0.9745 GB, free: 3.195 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.008246/1.16, allocations: 5.828 MB / 0.9802 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/1.163, allocations: 2.048 MB / 0.9822 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/1.164, allocations: 0.7131 MB / 0.9829 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006007/1.165, allocations: 432 kB / 0.9833 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001552/1.166, allocations: 1.014 MB / 0.9843 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.995e-06/1.166, allocations: 1.062 kB / 0.9843 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006753/1.173, allocations: 2.992 MB / 0.9872 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/1.173, allocations: 194.6 kB / 0.9874 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/1.175, allocations: 1.831 MB / 0.9892 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000215/1.175, allocations: 55.17 kB / 0.9893 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005818/1.176, allocations: 0.8645 MB / 0.9901 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/1.176, allocations: 0.4972 MB / 0.9906 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/1.177, allocations: 259.6 kB / 0.9908 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.177, allocations: 351.1 kB / 0.9912 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/1.178, allocations: 0.6095 MB / 0.9918 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.179, allocations: 0.81 MB / 0.9926 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002188/1.181, allocations: 1.354 MB / 0.9939 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.181, allocations: 0.75 kB / 0.9939 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003742/1.185, allocations: 1.847 MB / 0.9957 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.185, allocations: 4.75 kB / 0.9957 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.185, allocations: 4.312 kB / 0.9957 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/1.186, allocations: 211.3 kB / 0.9959 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.188, allocations: 341.9 kB / 0.9962 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006828/1.194, allocations: 7.328 MB / 1.003 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/1.196, allocations: 163.6 kB / 1.004 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.196, allocations: 57.12 kB / 1.004 GB, free: 7.113 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.001028/1.197, allocations: 499.4 kB / 1.004 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/1.198, allocations: 191.3 kB / 1.004 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/1.202, allocations: 2.139 MB / 1.006 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/1.202, allocations: 16.34 kB / 1.006 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.202, allocations: 4.812 kB / 1.006 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/1.202, allocations: 8.484 kB / 1.006 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006483/1.209, allocations: 4.014 MB / 1.01 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.209, allocations: 5 kB / 1.01 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.21, allocations: 319.5 kB / 1.011 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008722/1.211, allocations: 201.1 kB / 1.011 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.359e-05/1.211, allocations: 43.61 kB / 1.011 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006575/1.218, allocations: 7.353 MB / 1.018 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.218, allocations: 1.844 kB / 1.018 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00417/1.222, allocations: 2.02 MB / 1.02 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000966/1.223, allocations: 489.8 kB / 1.02 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/1.223, allocations: 32.33 kB / 1.02 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.224, allocations: 110.3 kB / 1.021 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/1.224, allocations: 117.9 kB / 1.021 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.225, allocations: 70.88 kB / 1.021 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00172/1.226, allocations: 1.309 MB / 1.022 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/1.226, allocations: 0 / 1.022 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00275/1.229, allocations: 0.6695 MB / 1.023 GB, free: 14.67 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.002325/1.231, allocations: 0.7606 MB / 1.023 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003478/1.235, allocations: 2.046 MB / 1.025 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.235, allocations: 8.094 kB / 1.025 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/1.237, allocations: 1.375 MB / 1.027 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/1.239, allocations: 0.5212 MB / 1.027 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007699/1.247, allocations: 4.027 MB / 1.031 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/1.248, allocations: 1.544 MB / 1.033 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001856/1.25, allocations: 0.4974 MB / 1.033 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004687/1.251, allocations: 173.7 kB / 1.033 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/1.251, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of Templates: time 0.05678/1.307, allocations: 31.81 MB / 1.064 GB, free: 15.98 MB / 0.7794 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)