Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006337/0.006337, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001473/0.001473, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 290.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9199/0.9199, 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: 93.92 kB / 0.681 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1637, allocations: 86.98 MB / 0.7659 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006018/0.1698, allocations: 4.339 MB / 0.7701 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4852/0.655, allocations: 150.5 MB / 0.9171 GB, free: 8.137 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007146/0.6558, allocations: 15.94 kB / 0.9172 GB, free: 8.121 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.6565, allocations: 173.3 kB / 0.9173 GB, free: 7.953 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.6583, allocations: 0.4975 MB / 0.9178 GB, free: 7.469 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.6602, allocations: 0.8192 MB / 0.9186 GB, free: 6.68 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.6618, allocations: 1.305 MB / 0.9199 GB, free: 5.367 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009922/0.6628, allocations: 0.6041 MB / 0.9205 GB, free: 4.742 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007444/0.6636, allocations: 478.2 kB / 0.9209 GB, free: 4.273 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/0.6643, allocations: 493.8 kB / 0.9214 GB, free: 3.789 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002484/0.6645, allocations: 116 kB / 0.9215 GB, free: 3.676 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000998/0.6655, allocations: 483.9 kB / 0.922 GB, free: 3.207 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.6659, allocations: 303 kB / 0.9223 GB, free: 2.91 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006552/0.6666, allocations: 0.5441 MB / 0.9228 GB, free: 2.363 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.6687, allocations: 1.588 MB / 0.9243 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6687, allocations: 4 kB / 0.9244 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6687, allocations: 0 / 0.9244 GB, free: 0.7695 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.585e-05/0.6688, allocations: 0 / 0.9244 GB, free: 0.7695 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002969/0.6717, allocations: 1.41 MB / 0.9257 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.6718, allocations: 12.03 kB / 0.9257 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000196/0.672, allocations: 135.4 kB / 0.9259 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009541/0.6729, allocations: 190.2 kB / 0.9261 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.6742, allocations: 0.7579 MB / 0.9268 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.395e-05/0.6743, allocations: 65.75 kB / 0.9269 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.6744, allocations: 80 kB / 0.9269 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.6759, allocations: 0.9183 MB / 0.9278 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6759, allocations: 4 kB / 0.9278 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/0.676, allocations: 36 kB / 0.9279 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.6761, allocations: 24 kB / 0.9279 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.6778, allocations: 1.104 MB / 0.929 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004005/0.6818, allocations: 2.457 MB / 0.9314 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.6833, allocations: 0.8037 MB / 0.9322 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.6838, allocations: 294.7 kB / 0.9324 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/0.6839, allocations: 32.62 kB / 0.9325 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008474/0.6847, allocations: 495.2 kB / 0.9329 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=80): time 3.507e-06/0.6847, allocations: 3.938 kB / 0.9329 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of matching and sorting (n=80): time 0.003049/0.6878, allocations: 1.186 MB / 0.9341 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.6879, allocations: 192.6 kB / 0.9343 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008718/0.6888, allocations: 0.6254 MB / 0.9349 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.527e-05/0.6889, allocations: 41.7 kB / 0.9349 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.6892, allocations: 392.3 kB / 0.9353 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.6895, allocations: 260.3 kB / 0.9356 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.6897, allocations: 158.5 kB / 0.9357 GB, free: 4.82 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.6899, allocations: 390.7 kB / 0.9361 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/0.6904, allocations: 241.9 kB / 0.9363 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.691, allocations: 358.5 kB / 0.9367 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.692, allocations: 0.576 MB / 0.9372 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.692, allocations: 0 / 0.9372 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001912/0.694, allocations: 0.7941 MB / 0.938 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.694, allocations: 12.09 kB / 0.938 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.694, allocations: 0 / 0.938 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.6946, allocations: 80.77 kB / 0.9381 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.6953, allocations: 157.5 kB / 0.9382 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.6975, allocations: 1.629 MB / 0.9398 GB, free: 420 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.6982, allocations: 92.86 kB / 0.9399 GB, free: 332 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.6983, allocations: 27.98 kB / 0.9399 GB, free: 304 kB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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 (87): * Single equations (assignments): 86 * 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.0004695/0.6988, allocations: 269.5 kB / 0.9402 GB, free: 24 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.699, allocations: 87.02 kB / 0.9403 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.7014, allocations: 1.049 MB / 0.9413 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.7014, allocations: 12 kB / 0.9413 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.7014, allocations: 3.938 kB / 0.9413 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.7014, allocations: 7.922 kB / 0.9413 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.7026, allocations: 0.8956 MB / 0.9422 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.7027, allocations: 0 / 0.9422 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.7032, allocations: 139.8 kB / 0.9423 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000432/0.7037, allocations: 76.78 kB / 0.9424 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/0.7037, allocations: 23.98 kB / 0.9424 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.7057, allocations: 1.673 MB / 0.9441 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7057, allocations: 0 / 0.9441 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002061/0.7078, allocations: 0.9239 MB / 0.945 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/0.7083, allocations: 267.7 kB / 0.9452 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.7085, allocations: 20 kB / 0.9452 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/0.7092, allocations: 63.92 kB / 0.9453 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.7094, allocations: 68.91 kB / 0.9454 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.778e-05/0.7095, allocations: 35.97 kB / 0.9454 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007462/0.7102, allocations: 467 kB / 0.9458 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7102, allocations: 0 / 0.9458 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009924/0.7112, allocations: 295.4 kB / 0.9461 GB, free: 9.699 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 (91): * Single equations (assignments): 85 * 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.003765/0.715, allocations: 1.983 MB / 0.9481 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.7168, allocations: 0.7933 MB / 0.9488 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7168, allocations: 0 / 0.9488 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000941/0.7178, allocations: 0.5158 MB / 0.9493 GB, free: 6.543 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.7191, allocations: 301.1 kB / 0.9496 GB, free: 6.277 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.7303, allocations: 6.201 MB / 0.9557 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006587/0.731, allocations: 1.023 MB / 0.9567 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0007999/0.7318, allocations: 262.5 kB / 0.9569 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/0.7323, allocations: 379.3 kB / 0.9573 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.7323, allocations: 0 / 0.9573 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05114/0.7835, allocations: 21.52 MB / 0.9783 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.01, allocations: 14.38 kB / 0.9783 GB, free: 9.129 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)