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.001449/0.001449, allocations: 101.6 kB / 16.27 MB, free: 5.93 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.001406/0.001406, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.166/1.166, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6623/0.6623, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 67.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2617, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00511/0.2669, allocations: 4.836 MB / 0.572 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.123/0.3899, allocations: 150.6 MB / 0.7191 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008011/0.3907, allocations: 19.88 kB / 0.7191 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.3913, allocations: 198.2 kB / 0.7193 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.393, allocations: 0.5435 MB / 0.7198 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.3947, allocations: 0.8276 MB / 0.7206 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001235/0.396, allocations: 1.366 MB / 0.7219 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007092/0.3967, allocations: 0.5793 MB / 0.7225 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005194/0.3972, allocations: 478.4 kB / 0.723 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005135/0.3977, allocations: 0.4978 MB / 0.7235 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.3979, allocations: 116 kB / 0.7236 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006908/0.3986, allocations: 459.6 kB / 0.724 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.3988, allocations: 295.1 kB / 0.7243 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000441/0.3993, allocations: 0.5596 MB / 0.7248 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.4007, allocations: 1.585 MB / 0.7264 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4007, allocations: 0 / 0.7264 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4007, allocations: 0 / 0.7264 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.274e-05/0.4007, allocations: 0 / 0.7264 GB, free: 7.332 MB / 0.5606 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.002124/0.4028, allocations: 1.422 MB / 0.7278 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4029, allocations: 12.62 kB / 0.7278 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.403, allocations: 135.4 kB / 0.7279 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007881/0.4038, allocations: 191.3 kB / 0.7281 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008387/0.4046, allocations: 0.742 MB / 0.7288 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.4047, allocations: 58 kB / 0.7289 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.649e-05/0.4048, allocations: 84 kB / 0.729 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.406, allocations: 0.9144 MB / 0.7298 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4061, allocations: 0 / 0.7298 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.4061, allocations: 36 kB / 0.7299 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.4062, allocations: 20 kB / 0.7299 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.4077, allocations: 1.104 MB / 0.731 GB, free: 2.48 MB / 0.5606 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.003218/0.4109, allocations: 2.693 MB / 0.7336 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.4122, allocations: 0.7979 MB / 0.7344 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.4126, allocations: 298.7 kB / 0.7347 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.345e-05/0.4127, allocations: 36.69 kB / 0.7347 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000702/0.4134, allocations: 499 kB / 0.7352 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 1.764e-06/0.4134, allocations: 0 / 0.7352 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.00275/0.4162, allocations: 1.186 MB / 0.7363 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/0.4162, allocations: 192.6 kB / 0.7365 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006229/0.4169, allocations: 0.637 MB / 0.7371 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.4169, allocations: 37.7 kB / 0.7372 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.4172, allocations: 396.4 kB / 0.7376 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.4173, allocations: 256.3 kB / 0.7378 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.4175, allocations: 154.5 kB / 0.738 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.4177, allocations: 386.7 kB / 0.7383 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.4181, allocations: 249.9 kB / 0.7386 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.4186, allocations: 362.6 kB / 0.7389 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009438/0.4196, allocations: 0.5838 MB / 0.7395 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4196, allocations: 0 / 0.7395 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001617/0.4212, allocations: 0.8019 MB / 0.7403 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.4212, allocations: 4 kB / 0.7403 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4213, allocations: 4 kB / 0.7403 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.4218, allocations: 88.77 kB / 0.7404 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.4223, allocations: 147.8 kB / 0.7405 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02882/0.4512, allocations: 1.634 MB / 0.7421 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.4519, allocations: 99.31 kB / 0.7422 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.938e-05/0.452, allocations: 31.98 kB / 0.7422 GB, free: 6.516 MB / 0.5762 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.0003629/0.4523, allocations: 267.5 kB / 0.7425 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.4525, allocations: 79.06 kB / 0.7425 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.4546, allocations: 1.065 MB / 0.7436 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.4546, allocations: 8 kB / 0.7436 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4546, allocations: 7.922 kB / 0.7436 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.4546, allocations: 3.984 kB / 0.7436 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008263/0.4554, allocations: 0.8918 MB / 0.7445 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4555, allocations: 0 / 0.7445 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/0.456, allocations: 139.8 kB / 0.7446 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/0.4564, allocations: 72.8 kB / 0.7447 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.267e-05/0.4564, allocations: 27.97 kB / 0.7447 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.458, allocations: 1.67 MB / 0.7463 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4581, allocations: 3.984 kB / 0.7463 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.4598, allocations: 0.9162 MB / 0.7472 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.4601, allocations: 271.7 kB / 0.7475 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.4602, allocations: 20 kB / 0.7475 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.4607, allocations: 69.95 kB / 0.7476 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.4609, allocations: 72.84 kB / 0.7476 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/0.4609, allocations: 39.91 kB / 0.7477 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004587/0.4614, allocations: 463 kB / 0.7481 GB, free: 204 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4614, allocations: 0 / 0.7481 GB, free: 204 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.1781/0.6395, allocations: 306.5 kB / 0.7484 GB, free: 171.1 MB / 0.5762 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.003589/0.6431, allocations: 1.972 MB / 0.7503 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.6455, allocations: 0.9995 MB / 0.7513 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6455, allocations: 0.75 kB / 0.7513 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008693/0.6464, allocations: 0.5135 MB / 0.7518 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.6476, allocations: 304.5 kB / 0.7521 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009506/0.6572, allocations: 6.358 MB / 0.7583 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.6576, allocations: 1.021 MB / 0.7593 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007664/0.6584, allocations: 267.4 kB / 0.7596 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.6588, allocations: 380.9 kB / 0.7599 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.6588, allocations: 1.344 kB / 0.7599 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.32/2.979, allocations: 21.22 MB / 0.7807 GB, free: 154 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.21/20.19, allocations: 21.08 kB / 0.7807 GB, free: 154 MB / 0.5762 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)