Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_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.001157/0.001157, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 208.4 kB / 16.79 MB, free: 6.84 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.196/1.196, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6045/0.6045, allocations: 115.3 MB / 406 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 65.81 kB / 493 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1198, allocations: 76.18 MB / 0.5559 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005638/0.1255, allocations: 4.835 MB / 0.5606 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.334/0.4595, allocations: 148.3 MB / 0.7054 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006708/0.4602, allocations: 19.88 kB / 0.7054 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.4608, allocations: 150.6 kB / 0.7055 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001422/0.4622, allocations: 462.6 kB / 0.706 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.4638, allocations: 0.7145 MB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001202/0.465, allocations: 1.288 MB / 0.7079 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007175/0.4657, allocations: 0.5517 MB / 0.7085 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005146/0.4663, allocations: 418.3 kB / 0.7089 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004835/0.4668, allocations: 481.7 kB / 0.7093 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.4669, allocations: 56 kB / 0.7094 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006818/0.4676, allocations: 396.7 kB / 0.7098 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.4678, allocations: 231.1 kB / 0.71 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004473/0.4683, allocations: 0.4972 MB / 0.7105 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.4697, allocations: 1.533 MB / 0.712 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4697, allocations: 0 / 0.712 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4697, allocations: 0 / 0.712 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.865e-05/0.4698, allocations: 4 kB / 0.712 GB, free: 6.926 MB / 0.5294 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.002632/0.4724, allocations: 1.435 MB / 0.7134 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.4724, allocations: 12.03 kB / 0.7134 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.4726, allocations: 131.4 kB / 0.7135 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008653/0.4735, allocations: 188.8 kB / 0.7137 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009908/0.4745, allocations: 0.7346 MB / 0.7144 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.4745, allocations: 61.94 kB / 0.7145 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.542e-05/0.4746, allocations: 84 kB / 0.7146 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.4761, allocations: 0.9106 MB / 0.7154 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4761, allocations: 0 / 0.7154 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.723e-05/0.4762, allocations: 36 kB / 0.7155 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.4762, allocations: 21.75 kB / 0.7155 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.4778, allocations: 1.108 MB / 0.7166 GB, free: 2.078 MB / 0.5294 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.003529/0.4813, allocations: 2.699 MB / 0.7192 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.4826, allocations: 0.798 MB / 0.72 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.4831, allocations: 298.7 kB / 0.7203 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7e-05/0.4832, allocations: 32.64 kB / 0.7203 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007971/0.484, allocations: 0.4911 MB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=80): time 1.714e-06/0.484, allocations: 0 / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=80): time 0.002877/0.4869, allocations: 1.19 MB / 0.722 GB, free: 12.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.487, allocations: 196.6 kB / 0.7221 GB, free: 12.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006442/0.4876, allocations: 0.6293 MB / 0.7228 GB, free: 11.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.4877, allocations: 45.64 kB / 0.7228 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.4879, allocations: 392.3 kB / 0.7232 GB, free: 11.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.4881, allocations: 256.3 kB / 0.7234 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.4883, allocations: 154.5 kB / 0.7236 GB, free: 10.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4885, allocations: 386.7 kB / 0.7239 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.4889, allocations: 249.9 kB / 0.7242 GB, free: 10.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.4895, allocations: 355.2 kB / 0.7245 GB, free: 9.676 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009484/0.4904, allocations: 0.5877 MB / 0.7251 GB, free: 9.074 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4904, allocations: 0 / 0.7251 GB, free: 9.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001679/0.4921, allocations: 0.8019 MB / 0.7259 GB, free: 8.266 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4921, allocations: 4 kB / 0.7259 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4921, allocations: 4 kB / 0.7259 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/0.4927, allocations: 88.77 kB / 0.726 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.4933, allocations: 151.8 kB / 0.7261 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006923/0.5002, allocations: 1.528 MB / 0.7276 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/0.5009, allocations: 83.45 kB / 0.7277 GB, free: 6.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/0.501, allocations: 40.52 kB / 0.7277 GB, free: 6.23 MB / 0.545 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.0003459/0.5014, allocations: 258.3 kB / 0.728 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.5015, allocations: 86.91 kB / 0.728 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.5037, allocations: 1.058 MB / 0.7291 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.5037, allocations: 8 kB / 0.7291 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.5037, allocations: 0 / 0.7291 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.5037, allocations: 3.984 kB / 0.7291 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008456/0.5046, allocations: 0.9039 MB / 0.73 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5046, allocations: 3.656 kB / 0.73 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.5051, allocations: 143.8 kB / 0.7301 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/0.5056, allocations: 80.78 kB / 0.7302 GB, free: 3.621 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.5056, allocations: 23.98 kB / 0.7302 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.5072, allocations: 1.544 MB / 0.7317 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5072, allocations: 3.938 kB / 0.7317 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.509, allocations: 0.9239 MB / 0.7326 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.5093, allocations: 279.7 kB / 0.7329 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.5094, allocations: 19.94 kB / 0.7329 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005897/0.51, allocations: 70.17 kB / 0.733 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.5101, allocations: 68.89 kB / 0.733 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.5102, allocations: 35.98 kB / 0.7331 GB, free: 496 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004458/0.5106, allocations: 463 kB / 0.7335 GB, free: 40 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5106, allocations: 0 / 0.7335 GB, free: 40 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006465/0.5113, allocations: 315.3 kB / 0.7338 GB, free: 15.73 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: 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.003024/0.5143, allocations: 1.976 MB / 0.7358 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.5157, allocations: 0.7966 MB / 0.7365 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5157, allocations: 0 / 0.7365 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008099/0.5165, allocations: 0.5121 MB / 0.737 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009563/0.5175, allocations: 273 kB / 0.7373 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009608/0.5271, allocations: 6.727 MB / 0.7439 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.5276, allocations: 1.019 MB / 0.7449 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006832/0.5283, allocations: 258.7 kB / 0.7451 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.5288, allocations: 383.3 kB / 0.7455 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.5288, allocations: 3.938 kB / 0.7455 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7331/1.262, allocations: 20.47 MB / 0.7655 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002679/1.262, allocations: 309.3 kB / 0.7658 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/3.396, allocations: 8.062 kB / 0.7658 GB, free: 15.37 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)