Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006513/0.006514, allocations: 99.64 kB / 15.73 MB, free: 6.465 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.001344/0.001345, allocations: 190.8 kB / 16.67 MB, free: 6.379 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 274.1 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9607/0.9607, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 91.86 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1616, allocations: 86.98 MB / 0.7664 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006248/0.1679, allocations: 4.723 MB / 0.771 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5432/0.7111, allocations: 150.7 MB / 0.9182 GB, free: 7.133 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009174/0.7121, allocations: 15.94 kB / 0.9182 GB, free: 7.117 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00081/0.7129, allocations: 201.2 kB / 0.9184 GB, free: 6.922 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002113/0.7151, allocations: 0.5209 MB / 0.9189 GB, free: 6.418 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.7173, allocations: 0.8615 MB / 0.9197 GB, free: 5.582 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.7193, allocations: 1.448 MB / 0.9211 GB, free: 4.129 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.7206, allocations: 0.9282 MB / 0.922 GB, free: 3.16 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008434/0.7214, allocations: 0.5799 MB / 0.9226 GB, free: 2.578 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006376/0.7221, allocations: 0.6277 MB / 0.9232 GB, free: 1.949 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.7223, allocations: 156 kB / 0.9234 GB, free: 1.797 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009288/0.7232, allocations: 0.5156 MB / 0.9239 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000293/0.7235, allocations: 374.8 kB / 0.9242 GB, free: 0.918 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005492/0.7241, allocations: 0.6994 MB / 0.9249 GB, free: 220 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.7261, allocations: 1.954 MB / 0.9268 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7261, allocations: 0 / 0.9268 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7261, allocations: 7.938 kB / 0.9268 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.631e-05/0.7261, allocations: 0 / 0.9268 GB, free: 14.25 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002621/0.7287, allocations: 1.682 MB / 0.9285 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.7288, allocations: 8.031 kB / 0.9285 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009004/0.7297, allocations: 226.9 kB / 0.9287 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.7309, allocations: 0.8603 MB / 0.9295 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.731, allocations: 98.39 kB / 0.9296 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.7312, allocations: 112 kB / 0.9297 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.7331, allocations: 1.206 MB / 0.9309 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.7331, allocations: 0 / 0.9309 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.7332, allocations: 52 kB / 0.931 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.7332, allocations: 28 kB / 0.931 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.7352, allocations: 1.289 MB / 0.9322 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.7398, allocations: 3.106 MB / 0.9353 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/0.7413, allocations: 0.8638 MB / 0.9361 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/0.7418, allocations: 324.5 kB / 0.9364 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-05/0.7419, allocations: 32.61 kB / 0.9365 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008476/0.7428, allocations: 0.5158 MB / 0.937 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=87): time 2.585e-06/0.7428, allocations: 0 / 0.937 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87): time 0.003237/0.746, allocations: 1.27 MB / 0.9382 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.7462, allocations: 204.8 kB / 0.9384 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000907/0.7471, allocations: 0.7313 MB / 0.9391 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.7471, allocations: 45.7 kB / 0.9392 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004006/0.7476, allocations: 0.5116 MB / 0.9397 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.7478, allocations: 291.8 kB / 0.9399 GB, free: 472 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.7481, allocations: 178.5 kB / 0.9401 GB, free: 288 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7482, allocations: 341.9 kB / 0.9404 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/0.7487, allocations: 289.8 kB / 0.9407 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006478/0.7494, allocations: 394.8 kB / 0.9411 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.7505, allocations: 0.6516 MB / 0.9417 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.7505, allocations: 0 / 0.9417 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002035/0.7526, allocations: 0.9189 MB / 0.9426 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.7526, allocations: 4 kB / 0.9426 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7526, allocations: 4 kB / 0.9426 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005973/0.7532, allocations: 95.03 kB / 0.9427 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006717/0.7539, allocations: 171.8 kB / 0.9429 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.7561, allocations: 1.624 MB / 0.9445 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.7569, allocations: 105.5 kB / 0.9446 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/0.757, allocations: 35.98 kB / 0.9446 GB, free: 11.5 MB / 0.7012 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 (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005375/0.7576, allocations: 299.6 kB / 0.9449 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.7577, allocations: 94.86 kB / 0.945 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.7601, allocations: 1.119 MB / 0.9461 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.7601, allocations: 15.98 kB / 0.9461 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7601, allocations: 8 kB / 0.9461 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.7601, allocations: 3.984 kB / 0.9461 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.7614, allocations: 1.048 MB / 0.9471 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7614, allocations: 0 / 0.9471 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.762, allocations: 159.7 kB / 0.9473 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/0.7625, allocations: 68.78 kB / 0.9473 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.7625, allocations: 27.98 kB / 0.9474 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.7644, allocations: 1.654 MB / 0.949 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7644, allocations: 0.7812 kB / 0.949 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.7664, allocations: 0.9863 MB / 0.9499 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.7668, allocations: 287.6 kB / 0.9502 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.7669, allocations: 23.92 kB / 0.9502 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005958/0.7675, allocations: 67.88 kB / 0.9503 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.7676, allocations: 72.83 kB / 0.9504 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.995e-05/0.7677, allocations: 35.98 kB / 0.9504 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006321/0.7684, allocations: 0.5146 MB / 0.9509 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7684, allocations: 4 kB / 0.9509 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0008708/0.7692, allocations: 362.8 kB / 0.9513 GB, free: 4.422 MB / 0.7012 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001264/0.7705, allocations: 0.612 MB / 0.9519 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.7723, allocations: 0.891 MB / 0.9527 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7723, allocations: 0 / 0.9527 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009143/0.7732, allocations: 0.547 MB / 0.9533 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.7745, allocations: 311.4 kB / 0.9536 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004157/0.7786, allocations: 2.058 MB / 0.9556 GB, free: 176 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006986/0.7794, allocations: 1.106 MB / 0.9567 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008268/0.7802, allocations: 279.4 kB / 0.9569 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.7805, allocations: 115.3 kB / 0.957 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of SimCode: time 6.72e-07/0.7805, allocations: 4 kB / 0.957 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of Templates: time 0.02657/0.8071, allocations: 16.05 MB / 0.9727 GB, free: 14.77 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)