Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7112/0.7112, allocations: 127.4 MB / 134.9 MB, free: 3.465 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009379/0.0009378, allocations: 177.1 kB / 164.6 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.239/1.239, allocations: 205.2 MB / 399.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007931/0.0007931, allocations: 97.48 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.043e-05/2.015e-05, allocations: 2.844 kB / 0.5466 GB, free: 95.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 76.77 MB / 0.6216 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.772/4.888, allocations: 2.149 GB / 2.771 GB, free: 188.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/4.888, allocations: 86.19 kB / 2.771 GB, free: 188.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1775/5.066, allocations: 79.33 MB / 2.848 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.274e-06/5.066, allocations: 0 / 2.848 GB, free: 159.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.86e-05/5.066, allocations: 28 kB / 2.848 GB, free: 159.8 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002049/5.068, allocations: 1.266 MB / 2.85 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/5.068, allocations: 8.031 kB / 2.85 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001843/5.07, allocations: 353.3 kB / 2.85 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008547/5.071, allocations: 0.6539 MB / 2.851 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/5.071, allocations: 84.03 kB / 2.851 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/5.071, allocations: 68 kB / 2.851 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001622/5.073, allocations: 1.27 MB / 2.852 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/5.074, allocations: 1.008 MB / 2.853 GB, free: 155.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/5.074, allocations: 0 / 2.853 GB, free: 155.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/5.074, allocations: 4 kB / 2.853 GB, free: 155.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/5.074, allocations: 32 kB / 2.853 GB, free: 155.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004613/5.079, allocations: 3.142 MB / 2.856 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/5.08, allocations: 0.8262 MB / 2.857 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/5.08, allocations: 340.1 kB / 2.857 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005747/5.081, allocations: 480.9 kB / 2.858 GB, free: 152 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006972/5.082, allocations: 0.522 MB / 2.858 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=93): time 1.953e-06/5.082, allocations: 0 / 2.858 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=93): time 0.004764/5.086, allocations: 1.21 MB / 2.859 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/5.086, allocations: 172.5 kB / 2.859 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/5.087, allocations: 0.534 MB / 2.86 GB, free: 150 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.996e-05/5.087, allocations: 25.7 kB / 2.86 GB, free: 150 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/5.087, allocations: 491.5 kB / 2.86 GB, free: 149.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/5.088, allocations: 294.8 kB / 2.861 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/5.088, allocations: 0 / 2.861 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001017/5.088, allocations: 384.3 kB / 2.861 GB, free: 149 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003843/5.088, allocations: 278.3 kB / 2.861 GB, free: 148.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/5.089, allocations: 374.6 kB / 2.862 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003469/5.092, allocations: 0.7102 MB / 2.862 GB, free: 148 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/5.092, allocations: 0 / 2.862 GB, free: 148 MB / 0.6511 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004565/5.097, allocations: 1.262 MB / 2.864 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/5.097, allocations: 8 kB / 2.864 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/5.097, allocations: 4.094 kB / 2.864 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/5.097, allocations: 76.78 kB / 2.864 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009118/5.098, allocations: 207.7 kB / 2.864 GB, free: 146.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/5.1, allocations: 1.469 MB / 2.865 GB, free: 144.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/5.101, allocations: 75.23 kB / 2.865 GB, free: 144.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/5.101, allocations: 39.97 kB / 2.865 GB, free: 144.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002149/5.101, allocations: 120.7 kB / 2.866 GB, free: 144.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004555/5.105, allocations: 1.226 MB / 2.867 GB, free: 143.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/5.106, allocations: 86.92 kB / 2.867 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005368/5.111, allocations: 1.553 MB / 2.868 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/5.111, allocations: 12 kB / 2.868 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/5.111, allocations: 0 / 2.868 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/5.111, allocations: 3.984 kB / 2.868 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/5.117, allocations: 2.542 MB / 2.871 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/5.117, allocations: 0 / 2.871 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000836/5.118, allocations: 187.8 kB / 2.871 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/5.119, allocations: 84.77 kB / 2.871 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-05/5.119, allocations: 19.98 kB / 2.871 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/5.12, allocations: 1.484 MB / 2.873 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/5.12, allocations: 0 / 2.873 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004667/5.125, allocations: 1.379 MB / 2.874 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/5.125, allocations: 343.5 kB / 2.874 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/5.125, allocations: 8 kB / 2.874 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007177/5.126, allocations: 55.94 kB / 2.874 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/5.126, allocations: 69.22 kB / 2.874 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.011e-05/5.126, allocations: 39.97 kB / 2.874 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004983/5.127, allocations: 459.1 kB / 2.875 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/5.127, allocations: 3.938 kB / 2.875 GB, free: 134.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001224/5.128, allocations: 398.5 kB / 2.875 GB, free: 134.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006578/5.135, allocations: 2.868 MB / 2.878 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001462/5.136, allocations: 0.8552 MB / 2.879 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/5.136, allocations: 11.95 kB / 2.879 GB, free: 130.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007068/5.137, allocations: 0.5221 MB / 2.879 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009998/5.138, allocations: 193.3 kB / 2.88 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/5.142, allocations: 1.815 MB / 2.881 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/5.143, allocations: 1.113 MB / 2.882 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001066/5.144, allocations: 274.5 kB / 2.883 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/5.144, allocations: 467.2 kB / 2.883 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/5.144, allocations: 3.938 kB / 2.883 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04969/5.194, allocations: 25.82 MB / 2.908 GB, free: 100.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/5.194, allocations: 207.6 kB / 2.909 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/8.295, allocations: 3.234 kB / 2.909 GB, free: 100.3 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)