Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_10_Buildings_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.001241/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001157/0.001157, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.218/1.218, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.307/2.307, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.89 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4628, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005519/0.4684, allocations: 4.862 MB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1262/0.5946, allocations: 148.3 MB / 1.166 GB, free: 9.051 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006455/0.5953, allocations: 15.94 kB / 1.166 GB, free: 9.035 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.5958, allocations: 150.8 kB / 1.166 GB, free: 8.887 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.5972, allocations: 461.7 kB / 1.167 GB, free: 8.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.5988, allocations: 0.7292 MB / 1.168 GB, free: 7.715 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.5999, allocations: 1.28 MB / 1.169 GB, free: 6.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007161/0.6007, allocations: 0.5611 MB / 1.169 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.6012, allocations: 418.3 kB / 1.17 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.6017, allocations: 473.8 kB / 1.17 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.6018, allocations: 56 kB / 1.17 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006648/0.6025, allocations: 391.7 kB / 1.171 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.6027, allocations: 243 kB / 1.171 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.6032, allocations: 0.4972 MB / 1.171 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.6045, allocations: 1.534 MB / 1.173 GB, free: 2.262 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.6045, allocations: 0 / 1.173 GB, free: 2.262 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.11e-07/0.6045, allocations: 4 kB / 1.173 GB, free: 2.258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.228e-05/0.6045, allocations: 0 / 1.173 GB, free: 2.258 MB / 0.92 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.002349/0.6069, allocations: 1.426 MB / 1.174 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.6069, allocations: 8.031 kB / 1.174 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.6071, allocations: 135.4 kB / 1.174 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008541/0.6079, allocations: 183.4 kB / 1.175 GB, free: 456 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009038/0.6088, allocations: 0.7459 MB / 1.175 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.6089, allocations: 66 kB / 1.175 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.609, allocations: 76 kB / 1.175 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.6104, allocations: 0.9145 MB / 1.176 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.6104, allocations: 4 kB / 1.176 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.395e-05/0.6105, allocations: 36 kB / 1.176 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.6105, allocations: 20 kB / 1.176 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/0.6121, allocations: 1.1 MB / 1.177 GB, free: 13.41 MB / 0.9356 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.003438/0.6156, allocations: 2.697 MB / 1.18 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.6169, allocations: 0.8027 MB / 1.181 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004842/0.6174, allocations: 294.7 kB / 1.181 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.375e-05/0.6175, allocations: 40.61 kB / 1.181 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008043/0.6183, allocations: 491.1 kB / 1.182 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 1.903e-06/0.6183, allocations: 0 / 1.182 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.002917/0.6212, allocations: 1.198 MB / 1.183 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/0.6213, allocations: 188.6 kB / 1.183 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006716/0.622, allocations: 0.6293 MB / 1.184 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.6221, allocations: 45.7 kB / 1.184 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/0.6223, allocations: 396.3 kB / 1.184 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.6225, allocations: 260.3 kB / 1.184 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.6227, allocations: 146.5 kB / 1.184 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6229, allocations: 390.7 kB / 1.185 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.6233, allocations: 249.8 kB / 1.185 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.6239, allocations: 366.5 kB / 1.185 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009977/0.6249, allocations: 0.5761 MB / 1.186 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6249, allocations: 4 kB / 1.186 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001775/0.6267, allocations: 0.8058 MB / 1.187 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6268, allocations: 9.562 kB / 1.187 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6268, allocations: 0 / 1.187 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.6273, allocations: 84.78 kB / 1.187 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.6279, allocations: 147.8 kB / 1.187 GB, free: 3.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/0.6298, allocations: 1.536 MB / 1.189 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005985/0.6304, allocations: 87.33 kB / 1.189 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.6304, allocations: 31.97 kB / 1.189 GB, free: 1.559 MB / 0.9356 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.0003172/0.6308, allocations: 257.7 kB / 1.189 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.6309, allocations: 90.91 kB / 1.189 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.6331, allocations: 1.054 MB / 1.19 GB, free: 136 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.6332, allocations: 12 kB / 1.19 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6332, allocations: 0 / 1.19 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.6332, allocations: 3.984 kB / 1.19 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008883/0.6341, allocations: 0.8996 MB / 1.191 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.6341, allocations: 0 / 1.191 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000553/0.6346, allocations: 147.8 kB / 1.191 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005005/0.6352, allocations: 84.75 kB / 1.191 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.6352, allocations: 27.92 kB / 1.191 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.6369, allocations: 1.551 MB / 1.193 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6369, allocations: 0 / 1.193 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.6387, allocations: 0.924 MB / 1.194 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.639, allocations: 271.7 kB / 1.194 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.6391, allocations: 16 kB / 1.194 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/0.6397, allocations: 70.42 kB / 1.194 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.6398, allocations: 64.91 kB / 1.194 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/0.6399, allocations: 39.97 kB / 1.194 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004787/0.6404, allocations: 459 kB / 1.194 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6404, allocations: 0 / 1.194 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006547/0.6411, allocations: 311.3 kB / 1.195 GB, free: 11.06 MB / 0.9512 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.003121/0.6442, allocations: 1.993 MB / 1.197 GB, free: 9.215 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.6456, allocations: 0.7923 MB / 1.197 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6456, allocations: 4.062 kB / 1.197 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000821/0.6464, allocations: 0.5042 MB / 1.198 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009712/0.6474, allocations: 280.4 kB / 1.198 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009838/0.6573, allocations: 6.733 MB / 1.205 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004803/0.6578, allocations: 1.023 MB / 1.206 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007232/0.6585, allocations: 258.7 kB / 1.206 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.659, allocations: 375.3 kB / 1.206 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.659, allocations: 0 / 1.206 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9016/1.561, allocations: 20.5 MB / 1.226 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/1.561, allocations: 318.9 kB / 1.227 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.838, allocations: 0 / 1.227 GB, free: 10.64 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)