Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.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.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") translateModel(BuildingSystems.Climate.Examples.TiltedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004489/0.004489, allocations: 102.7 kB / 15.74 MB, free: 5.551 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.001075/0.001075, allocations: 194.1 kB / 16.67 MB, free: 5.48 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.261/1.261, 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.002051/0.002051, allocations: 284.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9071/0.9071, allocations: 169.2 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 95.84 kB / 0.6814 GB, free: 7.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3594, allocations: 86.96 MB / 0.7663 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Climate.Examples.TiltedRadiation): time 0.003873/0.3634, allocations: 3.067 MB / 0.7693 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004083/0.3675, allocations: 3.248 MB / 0.7725 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.3676, allocations: 4 kB / 0.7725 GB, free: 13.61 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.3679, allocations: 59.38 kB / 0.7726 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008612/0.3687, allocations: 437.7 kB / 0.773 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.3694, allocations: 385.9 kB / 0.7733 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006121/0.3701, allocations: 0.7064 MB / 0.774 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.3703, allocations: 122.4 kB / 0.7742 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002934/0.3706, allocations: 287.1 kB / 0.7744 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.371, allocations: 326.8 kB / 0.7747 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.202e-05/0.3711, allocations: 60 kB / 0.7748 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007275/0.3718, allocations: 499.5 kB / 0.7753 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.372, allocations: 167.5 kB / 0.7754 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.3723, allocations: 290.5 kB / 0.7757 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009756/0.3732, allocations: 0.975 MB / 0.7767 GB, free: 9.352 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3733, allocations: 0 / 0.7767 GB, free: 9.352 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3733, allocations: 0 / 0.7767 GB, free: 9.352 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3733, allocations: 4 kB / 0.7767 GB, free: 9.348 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001791/0.3751, allocations: 0.936 MB / 0.7776 GB, free: 8.359 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.3751, allocations: 16.02 kB / 0.7776 GB, free: 8.344 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.3782, allocations: 0.5507 MB / 0.7781 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.3793, allocations: 0.5586 MB / 0.7787 GB, free: 7.195 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.3795, allocations: 199.8 kB / 0.7789 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/0.3796, allocations: 47.88 kB / 0.7789 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.381, allocations: 0.6792 MB / 0.7796 GB, free: 6.223 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.381, allocations: 4 kB / 0.7796 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.3811, allocations: 16 kB / 0.7796 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.3811, allocations: 12 kB / 0.7796 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3829, allocations: 0.7728 MB / 0.7804 GB, free: 5.414 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.3861, allocations: 1.716 MB / 0.782 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/0.3891, allocations: 1.038 MB / 0.783 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008412/0.39, allocations: 362.3 kB / 0.7834 GB, free: 2.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001675/0.3917, allocations: 1.769 MB / 0.7851 GB, free: 76 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009979/0.3927, allocations: 458.9 kB / 0.7856 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=66): time 2.054e-06/0.3927, allocations: 0 / 0.7856 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66): time 0.002745/0.3954, allocations: 1.069 MB / 0.7866 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.3955, allocations: 115.4 kB / 0.7867 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.3959, allocations: 369.6 kB / 0.7871 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.3959, allocations: 37.7 kB / 0.7871 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3961, allocations: 213.4 kB / 0.7873 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.3963, allocations: 229.9 kB / 0.7875 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.3965, allocations: 146.5 kB / 0.7877 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.3966, allocations: 354.8 kB / 0.788 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008233/0.3975, allocations: 317.8 kB / 0.7883 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000899/0.3984, allocations: 433.6 kB / 0.7887 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.4001, allocations: 0.7321 MB / 0.7894 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4001, allocations: 4 kB / 0.7894 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002032/0.4022, allocations: 0.8677 MB / 0.7903 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4022, allocations: 7.938 kB / 0.7903 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4022, allocations: 4 kB / 0.7903 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.4022, allocations: 4 kB / 0.7903 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009651/0.4032, allocations: 191.9 kB / 0.7905 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4032, allocations: 11.92 kB / 0.7905 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006507/0.4039, allocations: 95.5 kB / 0.7906 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/0.404, allocations: 31.97 kB / 0.7906 GB, free: 10.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiationFixed.outsidePolarCircle,radiationOneAxisTracked.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002475/0.4042, allocations: 201 kB / 0.7908 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.4043, allocations: 51.67 kB / 0.7909 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/0.407, allocations: 1.123 MB / 0.792 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.407, allocations: 8 kB / 0.792 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.407, allocations: 7.938 kB / 0.792 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4071, allocations: 3.984 kB / 0.792 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.4101, allocations: 1.77 MB / 0.7937 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4101, allocations: 0 / 0.7937 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009405/0.411, allocations: 191.7 kB / 0.7939 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.411, allocations: 7.938 kB / 0.7939 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/0.4111, allocations: 27.97 kB / 0.7939 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4111, allocations: 4 kB / 0.7939 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4111, allocations: 0 / 0.7939 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.4132, allocations: 1.006 MB / 0.7949 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.4135, allocations: 220.4 kB / 0.7951 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.946e-05/0.4136, allocations: 23.92 kB / 0.7951 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.4142, allocations: 63.92 kB / 0.7952 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.4143, allocations: 52.92 kB / 0.7953 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/0.4144, allocations: 31.98 kB / 0.7953 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00025/0.4147, allocations: 251.2 kB / 0.7955 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4147, allocations: 0 / 0.7955 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006355/0.4153, allocations: 235.5 kB / 0.7957 GB, free: 4.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001081/0.4164, allocations: 0.513 MB / 0.7962 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.4183, allocations: 0.8071 MB / 0.797 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4183, allocations: 0 / 0.797 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009601/0.4193, allocations: 473.9 kB / 0.7975 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.4197, allocations: 72.86 kB / 0.7976 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.4217, allocations: 1.156 MB / 0.7987 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.4221, allocations: 0.8739 MB / 0.7995 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006693/0.4228, allocations: 176.5 kB / 0.7997 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.4231, allocations: 87.36 kB / 0.7998 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.4231, allocations: 0 / 0.7998 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of Templates: time 0.01434/0.4375, allocations: 9.573 MB / 0.8091 GB, free: 7.363 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.makefile (rm -f BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; mkfifo BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe >> ../files/BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.sim & ./BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Climate.Examples.TiltedRadiation.pipe 2>&1)