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.0007822/0.0007822, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001786/0.001786, allocations: 211.6 kB / 22.25 MB, free: 3.574 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.935/0.935, allocations: 230.6 MB / 256 MB, free: 9.602 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.7537/0.7537, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.001281/0.001281, allocations: 69.55 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4795, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004796/0.4843, allocations: 4.708 MB / 0.8224 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1224/0.6067, allocations: 132.8 MB / 0.9521 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.6079, allocations: 23.81 kB / 0.9521 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.6086, allocations: 210.1 kB / 0.9523 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.61, allocations: 0.582 MB / 0.9529 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.6118, allocations: 0.8904 MB / 0.9537 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.6131, allocations: 1.475 MB / 0.9552 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005221/0.6136, allocations: 460.6 kB / 0.9556 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004394/0.6141, allocations: 0.5373 MB / 0.9561 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.6144, allocations: 0.4976 MB / 0.9566 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.991e-05/0.6145, allocations: 131.9 kB / 0.9567 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006622/0.6152, allocations: 0.5074 MB / 0.9572 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/0.6154, allocations: 327 kB / 0.9575 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.6157, allocations: 0.4975 MB / 0.958 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.6169, allocations: 1.823 MB / 0.9598 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.6169, allocations: 8 kB / 0.9598 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6169, allocations: 0 / 0.9598 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.6169, allocations: 0 / 0.9598 GB, free: 3.672 MB / 0.7292 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.001691/0.6186, allocations: 1.493 MB / 0.9613 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.6187, allocations: 8.031 kB / 0.9613 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.6188, allocations: 148.2 kB / 0.9614 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/0.6237, allocations: 1.807 MB / 0.9632 GB, free: 180 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008893/0.6246, allocations: 0.7686 MB / 0.9639 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.6246, allocations: 66 kB / 0.964 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-05/0.6247, allocations: 96 kB / 0.9641 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.6277, allocations: 2.126 MB / 0.9662 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6277, allocations: 0 / 0.9662 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.6278, allocations: 43.98 kB / 0.9662 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.6278, allocations: 24 kB / 0.9662 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004908/0.6327, allocations: 2.751 MB / 0.9689 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00503/0.6378, allocations: 4.664 MB / 0.9735 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.6407, allocations: 1.61 MB / 0.9751 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002138/0.6428, allocations: 1.092 MB / 0.9761 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.6429, allocations: 24.62 kB / 0.9761 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002405/0.6453, allocations: 1.456 MB / 0.9776 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 1.894e-06/0.6453, allocations: 0 / 0.9776 GB, free: 0.5859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.007093/0.6524, allocations: 3.48 MB / 0.981 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.624e-05/0.6525, allocations: 188.6 kB / 0.9811 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/0.6531, allocations: 0.6646 MB / 0.9818 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.6532, allocations: 45.7 kB / 0.9818 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.6534, allocations: 440.9 kB / 0.9823 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.6535, allocations: 281.7 kB / 0.9825 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.6537, allocations: 154.6 kB / 0.9827 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6538, allocations: 386.8 kB / 0.983 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.656, allocations: 1.064 MB / 0.9841 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.6582, allocations: 1.307 MB / 0.9854 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003912/0.6621, allocations: 1.966 MB / 0.9873 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6621, allocations: 0 / 0.9873 GB, free: 6.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004704/0.6668, allocations: 2.328 MB / 0.9896 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6668, allocations: 8 kB / 0.9896 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6669, allocations: 0 / 0.9896 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/0.6672, allocations: 80.88 kB / 0.9896 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.6684, allocations: 487.4 kB / 0.9901 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.6696, allocations: 1.519 MB / 0.9916 GB, free: 1.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.6707, allocations: 415.3 kB / 0.992 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/0.6708, allocations: 35.97 kB / 0.992 GB, free: 1.492 MB / 0.7605 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.0003079/0.6711, allocations: 269.6 kB / 0.9923 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.6712, allocations: 91.62 kB / 0.9924 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004997/0.6762, allocations: 2.662 MB / 0.995 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.6762, allocations: 8 kB / 0.995 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.6762, allocations: 4 kB / 0.995 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.6762, allocations: 3.984 kB / 0.995 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006157/0.6824, allocations: 4.235 MB / 0.9991 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6824, allocations: 0 / 0.9991 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.6836, allocations: 475.5 kB / 0.9996 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.6838, allocations: 76.72 kB / 0.9996 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.6838, allocations: 27.97 kB / 0.9997 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.6849, allocations: 1.547 MB / 1.001 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6849, allocations: 3.984 kB / 1.001 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004861/0.6897, allocations: 2.532 MB / 1.004 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.6901, allocations: 235 kB / 1.004 GB, free: 4.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.513e-05/0.6902, allocations: 19.98 kB / 1.004 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6913, allocations: 381.6 kB / 1.004 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.6914, allocations: 80.8 kB / 1.004 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.6915, allocations: 43.95 kB / 1.004 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003808/0.6918, allocations: 483 kB / 1.005 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.6918, allocations: 0 / 1.005 GB, free: 3.832 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006603/0.6925, allocations: 379 kB / 1.005 GB, free: 3.461 MB / 0.7761 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.005747/0.6983, allocations: 3.612 MB / 1.009 GB, free: 68 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004816/0.7031, allocations: 2.416 MB / 1.011 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7031, allocations: 0 / 1.011 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/0.7054, allocations: 1.316 MB / 1.012 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.7062, allocations: 304.6 kB / 1.013 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/0.7239, allocations: 11.3 MB / 1.024 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.7243, allocations: 465.6 kB / 1.024 GB, free: 84 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0007274/0.725, allocations: 303 kB / 1.024 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.7255, allocations: 431.2 kB / 1.025 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of SimCode: time 1.222e-06/0.7255, allocations: 0 / 1.025 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/0.7635, allocations: 26.69 MB / 1.051 GB, free: 4.891 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.841, allocations: 11.94 kB / 1.051 GB, free: 4.879 MB / 0.823 GB " [Timeout remaining time 651] (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: 11.77249485021457] Failed to read output from testmodel.py, exit status != 0: 8.992920808959752 9.000889278 8.382165034 Calling exit ...