Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 76.55 kB / 19.92 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8974/0.8974, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5593/0.5593, allocations: 114 MB / 373.9 MB, free: 8.691 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.237e-05, allocations: 6.219 kB / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00596/0.005983, allocations: 5.329 MB / 0.5594 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.3676/0.3736, allocations: 132.9 MB / 0.6892 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000622/0.3742, allocations: 26.91 kB / 0.6892 GB, free: 41.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.3747, allocations: 255.4 kB / 0.6895 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.3759, allocations: 0.6696 MB / 0.6901 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.3772, allocations: 0.9096 MB / 0.691 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.3783, allocations: 1.749 MB / 0.6927 GB, free: 41.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005956/0.3789, allocations: 0.5779 MB / 0.6933 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007646/0.3797, allocations: 0.9584 MB / 0.6942 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.3801, allocations: 0.5118 MB / 0.6947 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.3802, allocations: 161.2 kB / 0.6949 GB, free: 41.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006589/0.3809, allocations: 0.534 MB / 0.6954 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.3811, allocations: 401.2 kB / 0.6958 GB, free: 41.15 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003293/0.3814, allocations: 0.5082 MB / 0.6963 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3828, allocations: 2.218 MB / 0.6984 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3828, allocations: 0 / 0.6984 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3828, allocations: 2.688 kB / 0.6984 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.3828, allocations: 3.938 kB / 0.6984 GB, free: 40.91 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.001706/0.3845, allocations: 1.727 MB / 0.7001 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.3846, allocations: 9.719 kB / 0.7001 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001338/0.3847, allocations: 184.8 kB / 0.7003 GB, free: 40.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000821/0.3855, allocations: 279.4 kB / 0.7006 GB, free: 39.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008809/0.3864, allocations: 0.8215 MB / 0.7014 GB, free: 39.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.752e-05/0.3865, allocations: 96.98 kB / 0.7015 GB, free: 39.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.49e-05/0.3865, allocations: 126.3 kB / 0.7016 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.3878, allocations: 1.474 MB / 0.703 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.3878, allocations: 2.812 kB / 0.703 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/0.3879, allocations: 58.95 kB / 0.7031 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.3879, allocations: 29.53 kB / 0.7031 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.3891, allocations: 1.244 MB / 0.7043 GB, free: 39.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.3922, allocations: 2.922 MB / 0.7072 GB, free: 38.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009915/0.3932, allocations: 0.8488 MB / 0.708 GB, free: 38.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.3936, allocations: 324.9 kB / 0.7083 GB, free: 38.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/0.3936, allocations: 27.61 kB / 0.7084 GB, free: 38.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005696/0.3942, allocations: 0.6409 MB / 0.709 GB, free: 38.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=95): time 3.206e-06/0.3942, allocations: 0 / 0.709 GB, free: 38.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95): time 0.001833/0.396, allocations: 1.259 MB / 0.7102 GB, free: 37.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.3961, allocations: 200.5 kB / 0.7104 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006208/0.3967, allocations: 0.7619 MB / 0.7111 GB, free: 37.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.3967, allocations: 48.23 kB / 0.7112 GB, free: 37.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.397, allocations: 0.5327 MB / 0.7117 GB, free: 37.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.3971, allocations: 313.6 kB / 0.712 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.3973, allocations: 181.4 kB / 0.7122 GB, free: 37.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.3973, allocations: 337.4 kB / 0.7125 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.3977, allocations: 296.3 kB / 0.7128 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.3981, allocations: 0.5367 MB / 0.7133 GB, free: 36.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006915/0.3988, allocations: 0.6784 MB / 0.714 GB, free: 36.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.3988, allocations: 3.938 kB / 0.714 GB, free: 36.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001196/0.4, allocations: 0.9508 MB / 0.7149 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4, allocations: 5.312 kB / 0.7149 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4, allocations: 2.594 kB / 0.7149 GB, free: 36.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002981/0.4003, allocations: 84.62 kB / 0.715 GB, free: 36.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.4007, allocations: 178 kB / 0.7152 GB, free: 36.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.4018, allocations: 1.525 MB / 0.7167 GB, free: 35.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.4022, allocations: 106 kB / 0.7168 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.4023, allocations: 38.5 kB / 0.7168 GB, free: 34.99 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (109): * Single equations (assignments): 108 * 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.0003641/0.4026, allocations: 304.6 kB / 0.7171 GB, free: 34.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.4027, allocations: 107.8 kB / 0.7172 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.4041, allocations: 1.151 MB / 0.7183 GB, free: 34.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.4041, allocations: 8.906 kB / 0.7183 GB, free: 34.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.4041, allocations: 3.406 kB / 0.7183 GB, free: 34.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4041, allocations: 6.703 kB / 0.7183 GB, free: 34.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.4069, allocations: 2.232 MB / 0.7205 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.4069, allocations: 3.438 kB / 0.7205 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003748/0.4072, allocations: 161.2 kB / 0.7207 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002116/0.4074, allocations: 72.41 kB / 0.7207 GB, free: 34.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.4075, allocations: 26.78 kB / 0.7208 GB, free: 34.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009043/0.4084, allocations: 1.538 MB / 0.7223 GB, free: 33.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4084, allocations: 3.938 kB / 0.7223 GB, free: 33.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.4097, allocations: 1.094 MB / 0.7233 GB, free: 32.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.41, allocations: 227.5 kB / 0.7235 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.032e-05/0.4101, allocations: 24.75 kB / 0.7236 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.4104, allocations: 71.98 kB / 0.7236 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.4105, allocations: 78.14 kB / 0.7237 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.4106, allocations: 37.84 kB / 0.7237 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004959/0.4111, allocations: 0.5311 MB / 0.7243 GB, free: 32.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4111, allocations: 1.094 kB / 0.7243 GB, free: 32.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007772/0.4119, allocations: 399.4 kB / 0.7247 GB, free: 32.54 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002342/0.4142, allocations: 2.21 MB / 0.7268 GB, free: 31.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.4154, allocations: 0.863 MB / 0.7277 GB, free: 31.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4154, allocations: 3.5 kB / 0.7277 GB, free: 31.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.416, allocations: 0.5298 MB / 0.7282 GB, free: 31.42 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/0.4168, allocations: 333.8 kB / 0.7285 GB, free: 31.39 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008296/0.4251, allocations: 7.484 MB / 0.7358 GB, free: 28.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.4256, allocations: 0.5287 MB / 0.7363 GB, free: 27.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006939/0.4263, allocations: 280.1 kB / 0.7366 GB, free: 27.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.4267, allocations: 0.4934 MB / 0.7371 GB, free: 27.47 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.4267, allocations: 0 / 0.7371 GB, free: 27.47 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04055/0.4673, allocations: 26.94 MB / 0.7634 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/9.037, allocations: 10.56 kB / 0.7634 GB, free: 22.72 MB / 0.6355 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.61114101856947] Failed to read output from testmodel.py, exit status != 0: 9.196819756180048 9.206390113 8.821992978 Calling exit ...