Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.7007/0.7007, allocations: 127.4 MB / 134.9 MB, free: 3.727 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.0009002/0.0009002, allocations: 172.8 kB / 164.6 MB, free: 6.523 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.268/1.268, allocations: 205.2 MB / 399.5 MB, free: 5.938 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.0007948/0.0007948, allocations: 87.55 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.681e-05, allocations: 0 / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.124/5.246, allocations: 2.148 GB / 2.769 GB, free: 83.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/5.246, allocations: 83.95 kB / 2.769 GB, free: 83.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1543/5.401, allocations: 75.34 MB / 2.843 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.744e-06/5.401, allocations: 0 / 2.843 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.308e-05/5.401, allocations: 31.94 kB / 2.843 GB, free: 7.441 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.001891/5.403, allocations: 1.212 MB / 2.844 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/5.403, allocations: 8.031 kB / 2.844 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/5.404, allocations: 330.1 kB / 2.844 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008941/5.405, allocations: 0.6228 MB / 2.845 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/5.405, allocations: 36 kB / 2.845 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/5.406, allocations: 64 kB / 2.845 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001472/5.407, allocations: 1.14 MB / 2.846 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/5.408, allocations: 0.8984 MB / 2.847 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/5.408, allocations: 3.938 kB / 2.847 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-05/5.409, allocations: 4 kB / 2.847 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/5.409, allocations: 28 kB / 2.847 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/5.412, allocations: 2.798 MB / 2.85 GB, free: 92 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4967/5.909, allocations: 0.7006 MB / 2.851 GB, free: 188.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/5.91, allocations: 269.9 kB / 2.851 GB, free: 188.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007898/5.911, allocations: 475.8 kB / 2.851 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/5.912, allocations: 435.4 kB / 2.852 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 3.436e-06/5.912, allocations: 4.5 kB / 2.852 GB, free: 188.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.005873/5.918, allocations: 1.062 MB / 2.853 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/5.918, allocations: 164.7 kB / 2.853 GB, free: 188.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008427/5.919, allocations: 499.1 kB / 2.853 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/5.919, allocations: 29.91 kB / 2.853 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005042/5.919, allocations: 462.5 kB / 2.854 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/5.919, allocations: 246 kB / 2.854 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/5.919, allocations: 0 / 2.854 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001384/5.92, allocations: 376.2 kB / 2.854 GB, free: 187.3 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/5.92, allocations: 216.9 kB / 2.855 GB, free: 187.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/5.92, allocations: 294.1 kB / 2.855 GB, free: 187.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003889/5.924, allocations: 0.6293 MB / 2.856 GB, free: 187.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/5.924, allocations: 0 / 2.856 GB, free: 187.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00545/5.93, allocations: 1.074 MB / 2.857 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/5.93, allocations: 9.062 kB / 2.857 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/5.93, allocations: 2.281 kB / 2.857 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006337/5.931, allocations: 81.8 kB / 2.857 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/5.931, allocations: 162.4 kB / 2.857 GB, free: 187.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/5.933, allocations: 1.463 MB / 2.858 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/5.934, allocations: 67.09 kB / 2.858 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.242e-05/5.934, allocations: 35.62 kB / 2.858 GB, free: 185.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0002211/5.935, allocations: 117.2 kB / 2.858 GB, free: 185.8 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005255/5.94, allocations: 1.067 MB / 2.859 GB, free: 185.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/5.94, allocations: 74.77 kB / 2.86 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006496/5.946, allocations: 1.296 MB / 2.861 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/5.947, allocations: 9.812 kB / 2.861 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/5.947, allocations: 2.188 kB / 2.861 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/5.947, allocations: 5.578 kB / 2.861 GB, free: 185.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/5.949, allocations: 0.813 MB / 2.862 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.982e-05/5.949, allocations: 0 / 2.862 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008942/5.95, allocations: 162.4 kB / 2.862 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/5.95, allocations: 83.02 kB / 2.862 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.131e-05/5.95, allocations: 13.58 kB / 2.862 GB, free: 185.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/5.952, allocations: 1.475 MB / 2.863 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/5.952, allocations: 2.688 kB / 2.863 GB, free: 184.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/5.958, allocations: 1.158 MB / 2.864 GB, free: 184 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005235/5.958, allocations: 284.7 kB / 2.865 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/5.958, allocations: 2.312 kB / 2.865 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/5.959, allocations: 61.86 kB / 2.865 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/5.959, allocations: 55.84 kB / 2.865 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.751e-05/5.959, allocations: 31.53 kB / 2.865 GB, free: 183.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006464/5.96, allocations: 396.2 kB / 2.865 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/5.96, allocations: 3.062 kB / 2.865 GB, free: 183.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00171/5.962, allocations: 364 kB / 2.866 GB, free: 183.8 MB / 0.6355 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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * 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.008241/5.97, allocations: 2.662 MB / 2.868 GB, free: 183 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001827/5.972, allocations: 0.6925 MB / 2.869 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/5.972, allocations: 1.719 kB / 2.869 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009371/5.973, allocations: 465.8 kB / 2.869 GB, free: 182.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/5.974, allocations: 179.3 kB / 2.87 GB, free: 182.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/5.979, allocations: 1.634 MB / 2.871 GB, free: 182.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009237/5.98, allocations: 1.074 MB / 2.872 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001335/5.982, allocations: 250.9 kB / 2.872 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/5.982, allocations: 402.5 kB / 2.873 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/5.982, allocations: 0 / 2.873 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06483/6.047, allocations: 22.59 MB / 2.895 GB, free: 179.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/6.048, allocations: 207.4 kB / 2.895 GB, free: 179.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/8.852, allocations: 0 / 2.895 GB, free: 179.6 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)