Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001133/0.001133, allocations: 103.6 kB / 16.4 MB, free: 6.5 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.001084/0.001084, allocations: 195.9 kB / 17.34 MB, free: 5.742 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.223/1.223, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6688/0.6688, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 68.95 kB / 0.5572 GB, free: 32.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1239, allocations: 76.18 MB / 0.6316 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005902/0.1299, allocations: 4.966 MB / 0.6364 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.432/0.5619, allocations: 150.8 MB / 0.7837 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007236/0.5626, allocations: 16.03 kB / 0.7837 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.5631, allocations: 199.1 kB / 0.7839 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.5646, allocations: 0.57 MB / 0.7844 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.5661, allocations: 0.8479 MB / 0.7853 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009988/0.5671, allocations: 1.448 MB / 0.7867 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006739/0.5678, allocations: 0.5926 MB / 0.7873 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005154/0.5683, allocations: 0.515 MB / 0.7878 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.5688, allocations: 0.5327 MB / 0.7883 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.5689, allocations: 120.9 kB / 0.7884 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.5697, allocations: 486.2 kB / 0.7889 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.5699, allocations: 309.9 kB / 0.7892 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.5704, allocations: 0.5895 MB / 0.7897 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.5719, allocations: 1.692 MB / 0.7914 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5719, allocations: 0 / 0.7914 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5719, allocations: 0 / 0.7914 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.5719, allocations: 3 kB / 0.7914 GB, free: 12.89 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002234/0.5741, allocations: 1.478 MB / 0.7928 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.5742, allocations: 10.88 kB / 0.7928 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.5743, allocations: 141.5 kB / 0.793 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008351/0.5752, allocations: 193.8 kB / 0.7932 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00097/0.5762, allocations: 0.7838 MB / 0.7939 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.5762, allocations: 66.09 kB / 0.794 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.014e-05/0.5763, allocations: 87.69 kB / 0.7941 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.5776, allocations: 0.9661 MB / 0.795 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.5776, allocations: 0 / 0.795 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.5777, allocations: 46.06 kB / 0.7951 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.5777, allocations: 20.97 kB / 0.7951 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.5792, allocations: 1.154 MB / 0.7962 GB, free: 11.45 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.003407/0.5826, allocations: 2.863 MB / 0.799 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.5839, allocations: 0.8508 MB / 0.7998 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.5844, allocations: 320.2 kB / 0.8001 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.553e-05/0.5844, allocations: 36.84 kB / 0.8002 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007589/0.5852, allocations: 0.5312 MB / 0.8007 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.144e-06/0.5852, allocations: 0.9375 kB / 0.8007 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.002912/0.5881, allocations: 1.294 MB / 0.802 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.5882, allocations: 198.3 kB / 0.8022 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/0.5888, allocations: 0.6507 MB / 0.8028 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/0.5889, allocations: 52.19 kB / 0.8028 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002225/0.5891, allocations: 404.1 kB / 0.8032 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.5893, allocations: 288.8 kB / 0.8035 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.5895, allocations: 161.5 kB / 0.8037 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5897, allocations: 393 kB / 0.804 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/0.5901, allocations: 263.7 kB / 0.8043 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.5907, allocations: 393.9 kB / 0.8047 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009527/0.5916, allocations: 0.6308 MB / 0.8053 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5916, allocations: 0 / 0.8053 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001695/0.5933, allocations: 0.8728 MB / 0.8061 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5934, allocations: 11.94 kB / 0.8061 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5934, allocations: 0 / 0.8061 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.5939, allocations: 84.39 kB / 0.8062 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.5946, allocations: 165.9 kB / 0.8064 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/0.5963, allocations: 1.625 MB / 0.808 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/0.597, allocations: 103.9 kB / 0.8081 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/0.597, allocations: 33.92 kB / 0.8081 GB, free: 6.109 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0002949/0.5973, allocations: 279 kB / 0.8084 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.5975, allocations: 83.16 kB / 0.8084 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00218/0.5997, allocations: 1.175 MB / 0.8096 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5997, allocations: 9.219 kB / 0.8096 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.5997, allocations: 0 / 0.8096 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5997, allocations: 7.969 kB / 0.8096 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008725/0.6006, allocations: 0.9439 MB / 0.8105 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6006, allocations: 0 / 0.8105 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005619/0.6012, allocations: 157.8 kB / 0.8107 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.6016, allocations: 74.88 kB / 0.8107 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.6016, allocations: 27.33 kB / 0.8108 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.6034, allocations: 1.65 MB / 0.8124 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6034, allocations: 0 / 0.8124 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.6053, allocations: 0.9975 MB / 0.8134 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003442/0.6057, allocations: 290.1 kB / 0.8136 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.6058, allocations: 23.38 kB / 0.8137 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.6065, allocations: 72.08 kB / 0.8137 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.6066, allocations: 76.36 kB / 0.8138 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-05/0.6067, allocations: 45.16 kB / 0.8138 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004995/0.6072, allocations: 481.8 kB / 0.8143 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6072, allocations: 0 / 0.8143 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007526/0.6079, allocations: 334 kB / 0.8146 GB, free: 1.801 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003196/0.6112, allocations: 2.043 MB / 0.8166 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.6127, allocations: 0.8553 MB / 0.8174 GB, free: 132 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6127, allocations: 6.719 kB / 0.8175 GB, free: 128 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00088/0.6136, allocations: 0.5527 MB / 0.818 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.6146, allocations: 308.6 kB / 0.8183 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009675/0.6243, allocations: 6.49 MB / 0.8246 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.6248, allocations: 1.041 MB / 0.8256 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007549/0.6256, allocations: 269.2 kB / 0.8259 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.6261, allocations: 409.6 kB / 0.8263 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of SimCode: time 6.01e-07/0.6261, allocations: 0 / 0.8263 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.6729, allocations: 23.19 MB / 0.8489 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.02, allocations: 11.81 kB / 0.8489 GB, free: 4.418 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)