Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001189/0.001189, allocations: 107.9 kB / 16.4 MB, free: 6.438 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.001251/0.001251, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7538/0.7538, allocations: 115.3 MB / 406.5 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 64.36 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1299, allocations: 76.17 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006941/0.1369, allocations: 4.797 MB / 0.6362 GB, free: 112 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.554/0.6909, allocations: 150.6 MB / 0.7833 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008833/0.6918, allocations: 19.97 kB / 0.7833 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006799/0.6926, allocations: 187.8 kB / 0.7835 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.6946, allocations: 0.5476 MB / 0.784 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.6969, allocations: 0.8376 MB / 0.7849 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.6989, allocations: 1.38 MB / 0.7862 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009447/0.6998, allocations: 0.5921 MB / 0.7868 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008312/0.7007, allocations: 485.9 kB / 0.7872 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007748/0.7015, allocations: 0.504 MB / 0.7877 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.7017, allocations: 117.1 kB / 0.7878 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.7029, allocations: 482.1 kB / 0.7883 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002786/0.7032, allocations: 301.9 kB / 0.7886 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.7038, allocations: 0.5571 MB / 0.7891 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.7059, allocations: 1.645 MB / 0.7907 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.706, allocations: 1.531 kB / 0.7907 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.706, allocations: 0 / 0.7907 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.493e-05/0.706, allocations: 0 / 0.7907 GB, free: 12.61 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002993/0.709, allocations: 1.428 MB / 0.7921 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.7091, allocations: 10.5 kB / 0.7922 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.7093, allocations: 135.3 kB / 0.7923 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009624/0.7102, allocations: 186.2 kB / 0.7925 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.7115, allocations: 0.763 MB / 0.7932 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.7116, allocations: 59.94 kB / 0.7933 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.7117, allocations: 82.16 kB / 0.7933 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.7132, allocations: 0.9202 MB / 0.7942 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.7132, allocations: 4.969 kB / 0.7942 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.7133, allocations: 36.55 kB / 0.7943 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.7133, allocations: 20.28 kB / 0.7943 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.715, allocations: 1.112 MB / 0.7954 GB, free: 11.2 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.004382/0.7194, allocations: 2.714 MB / 0.798 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.7209, allocations: 0.8874 MB / 0.7989 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005108/0.7215, allocations: 307.6 kB / 0.7992 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.289e-05/0.7216, allocations: 29.19 kB / 0.7992 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008452/0.7224, allocations: 497.6 kB / 0.7997 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.625e-06/0.7224, allocations: 0 / 0.7997 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.003116/0.7255, allocations: 1.194 MB / 0.8009 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7257, allocations: 190.7 kB / 0.801 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000802/0.7265, allocations: 0.6231 MB / 0.8017 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.7266, allocations: 41.77 kB / 0.8017 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002874/0.7269, allocations: 390.4 kB / 0.8021 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.7271, allocations: 259.2 kB / 0.8023 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.7273, allocations: 142.7 kB / 0.8024 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7275, allocations: 390.4 kB / 0.8028 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.728, allocations: 252.1 kB / 0.8031 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/0.7286, allocations: 355.9 kB / 0.8034 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/0.7296, allocations: 0.5854 MB / 0.804 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7296, allocations: 0 / 0.804 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001848/0.7314, allocations: 0.7944 MB / 0.8047 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.7315, allocations: 8.281 kB / 0.8048 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.7315, allocations: 0 / 0.8048 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.7321, allocations: 88.16 kB / 0.8048 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006537/0.7328, allocations: 147.9 kB / 0.805 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.7349, allocations: 1.652 MB / 0.8066 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/0.7357, allocations: 88.53 kB / 0.8067 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/0.7358, allocations: 32.66 kB / 0.8067 GB, free: 6.07 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 (85): * Single equations (assignments): 84 * 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.0004817/0.7363, allocations: 265.8 kB / 0.807 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.7365, allocations: 80.69 kB / 0.807 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.7388, allocations: 1.059 MB / 0.8081 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.7389, allocations: 9.875 kB / 0.8081 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7389, allocations: 11.88 kB / 0.8081 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.7389, allocations: 7.984 kB / 0.8081 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/0.7424, allocations: 1.966 MB / 0.81 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.7424, allocations: 0 / 0.81 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/0.743, allocations: 140.4 kB / 0.8102 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004606/0.7435, allocations: 78.09 kB / 0.8102 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.158e-05/0.7435, allocations: 23.27 kB / 0.8103 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.7455, allocations: 1.67 MB / 0.8119 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7455, allocations: 4.062 kB / 0.8119 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.7477, allocations: 0.9986 MB / 0.8129 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004777/0.7482, allocations: 271.2 kB / 0.8131 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.7483, allocations: 17.28 kB / 0.8131 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.749, allocations: 61.8 kB / 0.8132 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.7492, allocations: 69.56 kB / 0.8133 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.53e-05/0.7492, allocations: 39.03 kB / 0.8133 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006277/0.7499, allocations: 453.4 kB / 0.8137 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7499, allocations: 0 / 0.8137 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001026/0.7509, allocations: 318.8 kB / 0.814 GB, free: 1.816 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: 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.003667/0.7546, allocations: 2.036 MB / 0.816 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00175/0.7564, allocations: 0.802 MB / 0.8168 GB, free: 128 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7564, allocations: 0 / 0.8168 GB, free: 128 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009561/0.7574, allocations: 0.5207 MB / 0.8173 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.7589, allocations: 306.8 kB / 0.8176 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.7693, allocations: 6.176 MB / 0.8236 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.77, allocations: 1.023 MB / 0.8246 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008991/0.7709, allocations: 263.5 kB / 0.8249 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005265/0.7714, allocations: 369.5 kB / 0.8252 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of SimCode: time 1.012e-06/0.7714, allocations: 0 / 0.8252 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05442/0.8259, allocations: 21.98 MB / 0.8467 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.49, allocations: 4.062 kB / 0.8467 GB, free: 6.324 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)