Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_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.001621/0.001621, allocations: 104.1 kB / 16.4 MB, free: 6.461 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.001867/0.001867, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7787/0.7787, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 70.5 kB / 0.5572 GB, free: 32.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1521, allocations: 76.17 MB / 0.6316 GB, free: 5.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007569/0.1597, allocations: 5.947 MB / 0.6374 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5616/0.7214, allocations: 150.8 MB / 0.7847 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.7225, allocations: 21.62 kB / 0.7847 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.7234, allocations: 238.1 kB / 0.7849 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.7259, allocations: 0.6188 MB / 0.7855 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.7283, allocations: 0.8763 MB / 0.7864 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002195/0.7305, allocations: 1.651 MB / 0.788 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.7319, allocations: 0.8696 MB / 0.7888 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.7334, allocations: 0.6168 MB / 0.7894 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.7347, allocations: 0.6622 MB / 0.7901 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003485/0.735, allocations: 153.8 kB / 0.7902 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001525/0.7366, allocations: 0.5135 MB / 0.7907 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.7369, allocations: 368.8 kB / 0.7911 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008439/0.7378, allocations: 0.743 MB / 0.7918 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003327/0.7411, allocations: 2.037 MB / 0.7938 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.7412, allocations: 0 / 0.7938 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7412, allocations: 0 / 0.7938 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.216e-05/0.7413, allocations: 0 / 0.7938 GB, free: 12.36 MB / 0.5919 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.003843/0.7451, allocations: 1.723 MB / 0.7955 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.7452, allocations: 10.03 kB / 0.7955 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002283/0.7454, allocations: 182.4 kB / 0.7957 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.7465, allocations: 222.8 kB / 0.7959 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.7481, allocations: 0.8743 MB / 0.7967 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-05/0.7482, allocations: 89.06 kB / 0.7968 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.7484, allocations: 116.3 kB / 0.7969 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.7505, allocations: 1.208 MB / 0.7981 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.7505, allocations: 0 / 0.7981 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.7506, allocations: 52.36 kB / 0.7981 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.7506, allocations: 28.44 kB / 0.7982 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.7527, allocations: 1.284 MB / 0.7994 GB, free: 10.73 MB / 0.5919 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.005704/0.7584, allocations: 3.537 MB / 0.8029 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.7599, allocations: 0.8764 MB / 0.8037 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.7605, allocations: 325.1 kB / 0.804 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.868e-05/0.7606, allocations: 29.27 kB / 0.8041 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009112/0.7615, allocations: 0.5215 MB / 0.8046 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 3.176e-06/0.7615, allocations: 0 / 0.8046 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.003493/0.765, allocations: 1.282 MB / 0.8058 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7652, allocations: 198.7 kB / 0.806 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.7663, allocations: 0.7287 MB / 0.8067 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.7665, allocations: 44.58 kB / 0.8068 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/0.7669, allocations: 0.5129 MB / 0.8073 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.7672, allocations: 287.6 kB / 0.8076 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.7675, allocations: 154.1 kB / 0.8077 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.7677, allocations: 339.4 kB / 0.808 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.7682, allocations: 269.5 kB / 0.8083 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.7688, allocations: 387.8 kB / 0.8087 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.7699, allocations: 0.6332 MB / 0.8093 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7699, allocations: 4 kB / 0.8093 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002148/0.7721, allocations: 0.8714 MB / 0.8101 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.7721, allocations: 7.281 kB / 0.8101 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7721, allocations: 2.719 kB / 0.8101 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.7727, allocations: 89.55 kB / 0.8102 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/0.7734, allocations: 171.2 kB / 0.8104 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.7756, allocations: 1.627 MB / 0.812 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/0.7766, allocations: 92.58 kB / 0.8121 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/0.7767, allocations: 34.56 kB / 0.8121 GB, free: 3.832 MB / 0.5919 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.0005877/0.7773, allocations: 300.1 kB / 0.8124 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.7775, allocations: 95.44 kB / 0.8125 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002484/0.78, allocations: 1.125 MB / 0.8136 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/0.7801, allocations: 12.05 kB / 0.8136 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7801, allocations: 6.031 kB / 0.8136 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.7801, allocations: 3.984 kB / 0.8136 GB, free: 2.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.7815, allocations: 1.061 MB / 0.8146 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.7815, allocations: 0 / 0.8146 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006131/0.7822, allocations: 158 kB / 0.8148 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004559/0.7826, allocations: 74.53 kB / 0.8148 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-05/0.7827, allocations: 30.75 kB / 0.8149 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.7846, allocations: 1.657 MB / 0.8165 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7846, allocations: 0 / 0.8165 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.7868, allocations: 0.9877 MB / 0.8175 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.7873, allocations: 285.7 kB / 0.8177 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.7874, allocations: 17.44 kB / 0.8177 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006571/0.7881, allocations: 72.3 kB / 0.8178 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.7882, allocations: 72.12 kB / 0.8179 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-05/0.7883, allocations: 42.88 kB / 0.8179 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006864/0.789, allocations: 0.5174 MB / 0.8184 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.789, allocations: 0 / 0.8184 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009457/0.79, allocations: 379.9 kB / 0.8188 GB, free: 15.15 MB / 0.6075 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.003497/0.7935, allocations: 2.05 MB / 0.8208 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.7953, allocations: 0.864 MB / 0.8216 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.7954, allocations: 0 / 0.8216 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.7964, allocations: 0.5409 MB / 0.8222 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.7982, allocations: 320.2 kB / 0.8225 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.8105, allocations: 7.034 MB / 0.8293 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.8112, allocations: 1.114 MB / 0.8304 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001072/0.8123, allocations: 287.6 kB / 0.8307 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007735/0.8131, allocations: 483.2 kB / 0.8312 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of SimCode: time 9.62e-07/0.8131, allocations: 0 / 0.8312 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09243/0.9056, allocations: 24.6 MB / 0.8552 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/14.79, allocations: 13.94 kB / 0.8552 GB, free: 14.41 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)