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.00168/0.00168, allocations: 107.8 kB / 16.41 MB, free: 6.492 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.001976/0.001976, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002188/0.002188, allocations: 290.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9316/0.9316, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4546, allocations: 86.97 MB / 0.767 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1745/0.6291, allocations: 167.2 MB / 0.9303 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02339/0.6526, allocations: 17.23 MB / 0.9472 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00182/0.6544, allocations: 31.81 kB / 0.9472 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002066/0.6566, allocations: 0.5391 MB / 0.9477 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005692/0.6623, allocations: 1.729 MB / 0.9494 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.6665, allocations: 1.426 MB / 0.9508 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003817/0.6703, allocations: 2.693 MB / 0.9534 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00319/0.6735, allocations: 2.002 MB / 0.9554 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.678, allocations: 1.439 MB / 0.9568 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4717/1.15, allocations: 1.085 MB / 0.9579 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008903/1.151, allocations: 221.8 kB / 0.9581 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/1.155, allocations: 1.557 MB / 0.9596 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001192/1.156, allocations: 0.7961 MB / 0.9604 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002111/1.158, allocations: 1.189 MB / 0.9615 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007874/1.166, allocations: 3.547 MB / 0.965 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/1.166, allocations: 3.875 kB / 0.965 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.434e-06/1.166, allocations: 0 / 0.965 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.897e-05/1.166, allocations: 3.812 kB / 0.965 GB, free: 5.871 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.006204/1.172, allocations: 2.753 MB / 0.9677 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.172, allocations: 9.625 kB / 0.9677 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004045/1.176, allocations: 0.5589 MB / 0.9682 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/1.179, allocations: 1.643 MB / 0.9698 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/1.179, allocations: 132.3 kB / 0.97 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/1.18, allocations: 167.8 kB / 0.9701 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/1.183, allocations: 1.958 MB / 0.972 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/1.183, allocations: 0.875 kB / 0.972 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/1.183, allocations: 73.31 kB / 0.9721 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/1.183, allocations: 44.12 kB / 0.9722 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/1.186, allocations: 2.117 MB / 0.9742 GB, free: 3.773 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.008318/1.195, allocations: 5.805 MB / 0.9799 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/1.198, allocations: 2.138 MB / 0.982 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/1.199, allocations: 0.7737 MB / 0.9827 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006634/1.2, allocations: 428.5 kB / 0.9831 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001666/1.201, allocations: 1.012 MB / 0.9841 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.287e-06/1.201, allocations: 0 / 0.9841 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.006695/1.208, allocations: 2.993 MB / 0.9871 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.208, allocations: 194 kB / 0.9872 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/1.21, allocations: 1.831 MB / 0.989 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002158/1.211, allocations: 61.52 kB / 0.9891 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005937/1.211, allocations: 0.8434 MB / 0.9899 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/1.212, allocations: 483.9 kB / 0.9904 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/1.212, allocations: 260.7 kB / 0.9906 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.212, allocations: 354.8 kB / 0.991 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/1.213, allocations: 0.6028 MB / 0.9915 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/1.214, allocations: 0.813 MB / 0.9923 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/1.217, allocations: 1.358 MB / 0.9937 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.217, allocations: 0.5312 kB / 0.9937 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003929/1.221, allocations: 1.843 MB / 0.9955 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.221, allocations: 5.938 kB / 0.9955 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.221, allocations: 0.7188 kB / 0.9955 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.222, allocations: 210 kB / 0.9957 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/1.223, allocations: 338.2 kB / 0.996 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005918/1.229, allocations: 7.324 MB / 1.003 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/1.231, allocations: 169.1 kB / 1.003 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/1.231, allocations: 56.31 kB / 1.003 GB, free: 7.758 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.001087/1.233, allocations: 490.4 kB / 1.004 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/1.233, allocations: 188.2 kB / 1.004 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004394/1.237, allocations: 2.141 MB / 1.006 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/1.237, allocations: 19.59 kB / 1.006 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.237, allocations: 3.938 kB / 1.006 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/1.238, allocations: 12.28 kB / 1.006 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006974/1.244, allocations: 4.011 MB / 1.01 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/1.245, allocations: 0 / 1.01 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/1.246, allocations: 320.1 kB / 1.01 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008837/1.247, allocations: 199.5 kB / 1.011 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.247, allocations: 45.56 kB / 1.011 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006007/1.253, allocations: 7.357 MB / 1.018 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.253, allocations: 0.9688 kB / 1.018 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004367/1.257, allocations: 2.013 MB / 1.02 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.259, allocations: 471.8 kB / 1.02 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/1.259, allocations: 35.7 kB / 1.02 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.26, allocations: 107.8 kB / 1.02 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/1.261, allocations: 115.7 kB / 1.02 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/1.261, allocations: 75.89 kB / 1.021 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001916/1.263, allocations: 1.306 MB / 1.022 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.11e-07/1.263, allocations: 0.9062 kB / 1.022 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00257/1.265, allocations: 0.6581 MB / 1.022 GB, free: 15.36 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.002039/1.267, allocations: 0.7687 MB / 1.023 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003723/1.271, allocations: 2.108 MB / 1.025 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/1.271, allocations: 3.438 kB / 1.025 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/1.273, allocations: 1.424 MB / 1.027 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/1.276, allocations: 0.5274 MB / 1.027 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007581/1.284, allocations: 3.893 MB / 1.031 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/1.285, allocations: 1.504 MB / 1.032 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/1.286, allocations: 195.7 kB / 1.033 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of SimCode: time 1.222e-06/1.286, allocations: 3 kB / 1.033 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of Templates: time 0.07889/1.364, allocations: 67.45 MB / 1.098 GB, free: 12.93 MB / 0.8106 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)