Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_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.004808/0.004808, allocations: 98.36 kB / 15.73 MB, free: 5.605 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.001354/0.001354, allocations: 192.4 kB / 16.67 MB, free: 5.527 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.278/2.278, allocations: 437.1 MB / 0.7105 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 63.89 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6567/0.6584, allocations: 151.6 MB / 1.166 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007466/0.6659, allocations: 5.983 MB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.8331, allocations: 150.8 MB / 1.319 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007737/0.8339, allocations: 19.88 kB / 1.319 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006069/0.8346, allocations: 237.7 kB / 1.32 GB, free: 6.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.8361, allocations: 0.6286 MB / 1.32 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.838, allocations: 0.8728 MB / 1.321 GB, free: 4.523 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.8396, allocations: 1.654 MB / 1.323 GB, free: 2.863 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.8407, allocations: 0.8643 MB / 1.323 GB, free: 1.965 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006617/0.8414, allocations: 0.6151 MB / 1.324 GB, free: 1.348 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007052/0.8421, allocations: 0.6573 MB / 1.325 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.8423, allocations: 152 kB / 1.325 GB, free: 0.5391 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008623/0.8432, allocations: 0.5152 MB / 1.325 GB, free: 24 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/0.8436, allocations: 370.8 kB / 1.326 GB, free: 15.66 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006528/0.8442, allocations: 0.7424 MB / 1.326 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.8463, allocations: 2.044 MB / 1.328 GB, free: 12.86 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.8463, allocations: 0 / 1.328 GB, free: 12.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8463, allocations: 0 / 1.328 GB, free: 12.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.045e-05/0.8464, allocations: 4 kB / 1.328 GB, free: 12.86 MB / 1.061 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.002779/0.8492, allocations: 1.761 MB / 1.33 GB, free: 11.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.8492, allocations: 8.922 kB / 1.33 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002059/0.8494, allocations: 185.8 kB / 1.33 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008908/0.8503, allocations: 223.9 kB / 1.331 GB, free: 10.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.8516, allocations: 0.8799 MB / 1.331 GB, free: 9.695 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.8517, allocations: 90.41 kB / 1.332 GB, free: 9.605 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.8518, allocations: 115.9 kB / 1.332 GB, free: 9.492 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.8538, allocations: 1.206 MB / 1.333 GB, free: 8.223 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.8538, allocations: 0 / 1.333 GB, free: 8.223 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.8539, allocations: 52 kB / 1.333 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.854, allocations: 28 kB / 1.333 GB, free: 8.145 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.8561, allocations: 1.285 MB / 1.334 GB, free: 6.852 MB / 1.061 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.004819/0.8609, allocations: 3.564 MB / 1.338 GB, free: 3.117 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.8626, allocations: 0.8667 MB / 1.338 GB, free: 2.246 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.8632, allocations: 318.7 kB / 1.339 GB, free: 1.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.074e-05/0.8632, allocations: 36.59 kB / 1.339 GB, free: 1.895 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008829/0.8641, allocations: 0.5213 MB / 1.339 GB, free: 1.359 MB / 1.061 GB Notification: Performance of pre-optimization done (n=87): time 1.903e-06/0.8642, allocations: 0 / 1.339 GB, free: 1.359 MB / 1.061 GB Notification: Performance of matching and sorting (n=87): time 0.003246/0.8674, allocations: 1.286 MB / 1.341 GB, free: 44 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.8675, allocations: 188.9 kB / 1.341 GB, free: 15.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.8684, allocations: 0.7353 MB / 1.341 GB, free: 15.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.8685, allocations: 53.7 kB / 1.342 GB, free: 15.01 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.8689, allocations: 0.5242 MB / 1.342 GB, free: 14.48 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.8692, allocations: 293.5 kB / 1.342 GB, free: 14.19 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/0.8694, allocations: 162.6 kB / 1.342 GB, free: 14.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.8696, allocations: 341.9 kB / 1.343 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.8701, allocations: 269.9 kB / 1.343 GB, free: 13.42 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.8708, allocations: 382.5 kB / 1.343 GB, free: 13.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.872, allocations: 0.6359 MB / 1.344 GB, free: 12.38 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.872, allocations: 0 / 1.344 GB, free: 12.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001921/0.8739, allocations: 0.8842 MB / 1.345 GB, free: 11.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.8739, allocations: 8.047 kB / 1.345 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.874, allocations: 3.938 kB / 1.345 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.8745, allocations: 80.88 kB / 1.345 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006344/0.8752, allocations: 163.8 kB / 1.345 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.8772, allocations: 1.63 MB / 1.347 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/0.8779, allocations: 111.3 kB / 1.347 GB, free: 9.344 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.8779, allocations: 35.98 kB / 1.347 GB, free: 9.309 MB / 1.076 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 (96): * Single equations (assignments): 95 * 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.0003836/0.8783, allocations: 293.7 kB / 1.347 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.8785, allocations: 95.39 kB / 1.347 GB, free: 8.918 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.8809, allocations: 1.13 MB / 1.348 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.881, allocations: 12 kB / 1.348 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.881, allocations: 0 / 1.348 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.881, allocations: 7.969 kB / 1.348 GB, free: 7.754 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.8822, allocations: 1.048 MB / 1.349 GB, free: 6.656 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.8822, allocations: 4 kB / 1.349 GB, free: 6.652 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.8828, allocations: 155.7 kB / 1.35 GB, free: 6.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004229/0.8832, allocations: 72.78 kB / 1.35 GB, free: 6.426 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/0.8833, allocations: 27.92 kB / 1.35 GB, free: 6.398 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.8852, allocations: 1.663 MB / 1.351 GB, free: 4.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8852, allocations: 64 / 1.351 GB, free: 4.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.8873, allocations: 0.9868 MB / 1.352 GB, free: 3.586 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.8877, allocations: 300.1 kB / 1.352 GB, free: 3.273 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.8878, allocations: 24 kB / 1.353 GB, free: 3.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.8884, allocations: 63.88 kB / 1.353 GB, free: 3.188 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.8886, allocations: 72.89 kB / 1.353 GB, free: 3.117 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/0.8886, allocations: 39.97 kB / 1.353 GB, free: 3.078 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000649/0.8893, allocations: 0.5146 MB / 1.353 GB, free: 2.566 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8893, allocations: 0 / 1.353 GB, free: 2.566 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007695/0.8901, allocations: 394.8 kB / 1.354 GB, free: 2.18 MB / 1.076 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.004009/0.8941, allocations: 2.041 MB / 1.356 GB, free: 284 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.8957, allocations: 0.8587 MB / 1.356 GB, free: 15.41 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8957, allocations: 0 / 1.356 GB, free: 15.41 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.8967, allocations: 0.5431 MB / 1.357 GB, free: 14.85 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.898, allocations: 333.8 kB / 1.357 GB, free: 14.55 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.9088, allocations: 7.073 MB / 1.364 GB, free: 7.316 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007515/0.9096, allocations: 1.106 MB / 1.365 GB, free: 6.184 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008066/0.9104, allocations: 295.5 kB / 1.366 GB, free: 5.891 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006359/0.911, allocations: 491.2 kB / 1.366 GB, free: 5.41 MB / 1.092 GB Notification: Performance of SimCode: time 2.3e-07/0.911, allocations: 0 / 1.366 GB, free: 5.41 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3802/1.291, allocations: 24.15 MB / 1.39 GB, free: 13.5 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.59/21.89, allocations: 5.812 kB / 1.39 GB, free: 13.5 MB / 1.123 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)