Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.0007854/0.0007854, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0009091/0.0009091, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9983/0.9983, allocations: 230.6 MB / 256 MB, free: 9.832 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8324/0.8324, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008271/0.0008271, allocations: 66.7 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5441/0.545, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004987/0.55, allocations: 5.278 MB / 0.823 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1589/0.7089, allocations: 154.3 MB / 0.9736 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009587/0.7098, allocations: 19.88 kB / 0.9737 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.7105, allocations: 214.1 kB / 0.9739 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.7128, allocations: 0.5814 MB / 0.9744 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.7146, allocations: 0.9075 MB / 0.9753 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.7161, allocations: 1.471 MB / 0.9768 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007579/0.7169, allocations: 476.7 kB / 0.9772 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.718, allocations: 0.5489 MB / 0.9778 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.7185, allocations: 0.5601 MB / 0.9783 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.7187, allocations: 131.9 kB / 0.9784 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009282/0.7196, allocations: 0.5385 MB / 0.979 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.7198, allocations: 323 kB / 0.9793 GB, free: 200 kB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.7202, allocations: 0.6102 MB / 0.9799 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002029/0.7222, allocations: 1.812 MB / 0.9816 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7222, allocations: 0 / 0.9816 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7222, allocations: 0 / 0.9816 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.7222, allocations: 4 kB / 0.9816 GB, free: 13.76 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.001887/0.7241, allocations: 1.5 MB / 0.9831 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.7242, allocations: 12.03 kB / 0.9831 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.7243, allocations: 152.2 kB / 0.9833 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005092/0.7294, allocations: 1.791 MB / 0.985 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.7305, allocations: 0.7686 MB / 0.9858 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.7306, allocations: 74 kB / 0.9858 GB, free: 9.395 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/0.7307, allocations: 88 kB / 0.9859 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.7337, allocations: 1.89 MB / 0.9878 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.7337, allocations: 0 / 0.9878 GB, free: 7.379 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.7337, allocations: 36 kB / 0.9878 GB, free: 7.344 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.7338, allocations: 24 kB / 0.9878 GB, free: 7.32 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004602/0.7384, allocations: 2.798 MB / 0.9905 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00623/0.7446, allocations: 5.33 MB / 0.9957 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/0.7474, allocations: 1.604 MB / 0.9973 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/0.7497, allocations: 1.092 MB / 0.9984 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.788e-05/0.7498, allocations: 28.69 kB / 0.9984 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/0.7522, allocations: 1.355 MB / 0.9997 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=82): time 1.814e-06/0.7522, allocations: 0 / 0.9997 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=82): time 0.006948/0.7591, allocations: 3.48 MB / 1.003 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/0.7592, allocations: 188.6 kB / 1.003 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006859/0.7599, allocations: 0.6685 MB / 1.004 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.801e-05/0.7599, allocations: 41.7 kB / 1.004 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.7602, allocations: 444.9 kB / 1.004 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/0.7604, allocations: 277.6 kB / 1.005 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.7606, allocations: 162.6 kB / 1.005 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004005/0.761, allocations: 382.8 kB / 1.005 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.763, allocations: 1.06 MB / 1.006 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/0.7652, allocations: 1.181 MB / 1.007 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.7689, allocations: 1.962 MB / 1.009 GB, free: 372 kB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.7689, allocations: 7.938 kB / 1.009 GB, free: 364 kB / 0.7761 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004647/0.7736, allocations: 2.332 MB / 1.012 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.7736, allocations: 10.02 kB / 1.012 GB, free: 14 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.7736, allocations: 3.984 kB / 1.012 GB, free: 14 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/0.774, allocations: 80.88 kB / 1.012 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.7752, allocations: 483.5 kB / 1.012 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.7767, allocations: 1.531 MB / 1.014 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.778, allocations: 411.2 kB / 1.014 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-05/0.7781, allocations: 39.97 kB / 1.014 GB, free: 11.35 MB / 0.7917 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 (88): * Single equations (assignments): 87 * 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.000465/0.7785, allocations: 273.8 kB / 1.014 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.7787, allocations: 91.42 kB / 1.014 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004758/0.7834, allocations: 2.654 MB / 1.017 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.7835, allocations: 8 kB / 1.017 GB, free: 8.305 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.7835, allocations: 0 / 1.017 GB, free: 8.305 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7835, allocations: 3.984 kB / 1.017 GB, free: 8.301 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006489/0.79, allocations: 4.414 MB / 1.021 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.79, allocations: 0 / 1.021 GB, free: 3.52 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.7911, allocations: 475.5 kB / 1.022 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.7913, allocations: 72.78 kB / 1.022 GB, free: 2.98 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.7914, allocations: 31.97 kB / 1.022 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.7925, allocations: 1.559 MB / 1.023 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7925, allocations: 3.938 kB / 1.023 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004889/0.7974, allocations: 2.525 MB / 1.026 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/0.7982, allocations: 235 kB / 1.026 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.7983, allocations: 20 kB / 1.026 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.7994, allocations: 390.2 kB / 1.026 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.7996, allocations: 80.73 kB / 1.027 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.178e-05/0.7996, allocations: 35.97 kB / 1.027 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000478/0.8001, allocations: 487 kB / 1.027 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8001, allocations: 4 kB / 1.027 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008663/0.801, allocations: 367.1 kB / 1.027 GB, free: 13.15 MB / 0.8073 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 (93): * Single equations (assignments): 87 * 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.005774/0.8068, allocations: 3.579 MB / 1.031 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.005074/0.8118, allocations: 2.428 MB / 1.033 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.8118, allocations: 0 / 1.033 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/0.8143, allocations: 1.308 MB / 1.035 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009829/0.8153, allocations: 312.4 kB / 1.035 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/0.8358, allocations: 11.3 MB / 1.046 GB, free: 10.25 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.8364, allocations: 1.043 MB / 1.047 GB, free: 9.18 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0009496/0.8373, allocations: 319 kB / 1.047 GB, free: 8.863 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009816/0.8383, allocations: 427.2 kB / 1.048 GB, free: 8.445 MB / 0.823 GB Notification: Performance of SimCode: time 1.012e-06/0.8383, allocations: 0 / 1.048 GB, free: 8.445 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05196/0.8903, allocations: 25.51 MB / 1.073 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.924/9.814, allocations: 7.875 kB / 1.073 GB, free: 15.09 MB / 0.8542 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.932248671073467] Failed to read output from testmodel.py, exit status != 0: 9.965667341137305 9.9765487 9.250679406 Calling exit ...