Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006331/0.006331, allocations: 100.3 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 194.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9283/0.9283, allocations: 135.2 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.91 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4504, allocations: 80.91 MB / 0.6641 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004963/0.4554, allocations: 4.419 MB / 0.6685 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.6187, allocations: 150.7 MB / 0.8156 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008599/0.6196, allocations: 19.94 kB / 0.8156 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007119/0.6203, allocations: 182.3 kB / 0.8158 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.6223, allocations: 475.8 kB / 0.8162 GB, free: 5.449 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.6245, allocations: 0.9093 MB / 0.8171 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001627/0.6261, allocations: 1.364 MB / 0.8185 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.6272, allocations: 0.7973 MB / 0.8192 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007995/0.6281, allocations: 0.5256 MB / 0.8198 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007574/0.6288, allocations: 0.5734 MB / 0.8203 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.629, allocations: 132 kB / 0.8204 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009453/0.63, allocations: 0.5191 MB / 0.821 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.6303, allocations: 334.9 kB / 0.8213 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.6308, allocations: 0.5946 MB / 0.8219 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.6327, allocations: 1.752 MB / 0.8236 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.6327, allocations: 4 kB / 0.8236 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6327, allocations: 0 / 0.8236 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.767e-05/0.6327, allocations: 0 / 0.8236 GB, free: 13.91 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002816/0.6356, allocations: 1.56 MB / 0.8251 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.6356, allocations: 8.031 kB / 0.8251 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.6358, allocations: 168.8 kB / 0.8253 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/0.6409, allocations: 0.7407 MB / 0.826 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.6422, allocations: 0.7966 MB / 0.8268 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/0.6423, allocations: 82.03 kB / 0.8268 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.6424, allocations: 100 kB / 0.8269 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/0.6456, allocations: 1.368 MB / 0.8283 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.6456, allocations: 0 / 0.8283 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.6457, allocations: 44 kB / 0.8283 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.6457, allocations: 24 kB / 0.8283 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00487/0.6506, allocations: 1.842 MB / 0.8301 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005917/0.6566, allocations: 3.088 MB / 0.8331 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003238/0.6598, allocations: 1.272 MB / 0.8344 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.6613, allocations: 0.5693 MB / 0.8349 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/0.662, allocations: 478.6 kB / 0.8354 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001798/0.6638, allocations: 0.7424 MB / 0.8361 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=100): time 2.584e-06/0.6638, allocations: 0 / 0.8361 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of matching and sorting (n=100): time 0.005963/0.6698, allocations: 1.848 MB / 0.8379 GB, free: 14.77 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.6699, allocations: 192.9 kB / 0.8381 GB, free: 14.54 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007568/0.6707, allocations: 0.6058 MB / 0.8387 GB, free: 13.93 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.84e-05/0.6708, allocations: 45.7 kB / 0.8388 GB, free: 13.88 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.6711, allocations: 420.4 kB / 0.8392 GB, free: 13.46 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.6713, allocations: 331.1 kB / 0.8395 GB, free: 13.13 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.6716, allocations: 178.5 kB / 0.8396 GB, free: 12.95 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6718, allocations: 390.8 kB / 0.84 GB, free: 12.55 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.6732, allocations: 461.6 kB / 0.8405 GB, free: 12.11 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.6747, allocations: 0.5657 MB / 0.841 GB, free: 11.51 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.6775, allocations: 1.004 MB / 0.842 GB, free: 10.49 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.6775, allocations: 64 / 0.842 GB, free: 10.49 MB / 0.67 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003819/0.6814, allocations: 1.247 MB / 0.8432 GB, free: 9.234 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6814, allocations: 4 kB / 0.8432 GB, free: 9.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6814, allocations: 7.938 kB / 0.8432 GB, free: 9.223 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/0.682, allocations: 84.81 kB / 0.8433 GB, free: 9.137 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.6833, allocations: 243.7 kB / 0.8435 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.6853, allocations: 1.634 MB / 0.8451 GB, free: 7.117 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6865, allocations: 147 kB / 0.8453 GB, free: 6.973 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.697e-05/0.6866, allocations: 39.97 kB / 0.8453 GB, free: 6.934 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.000486/0.6871, allocations: 269 kB / 0.8456 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002164/0.6873, allocations: 82.97 kB / 0.8456 GB, free: 6.582 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/0.6918, allocations: 1.581 MB / 0.8472 GB, free: 4.988 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.6918, allocations: 12 kB / 0.8472 GB, free: 4.977 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.6918, allocations: 4 kB / 0.8472 GB, free: 4.973 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/0.6919, allocations: 7.969 kB / 0.8472 GB, free: 4.965 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006292/0.6982, allocations: 2.729 MB / 0.8499 GB, free: 2.168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6982, allocations: 4 kB / 0.8499 GB, free: 2.164 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.6995, allocations: 251.6 kB / 0.8501 GB, free: 1.918 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.6999, allocations: 72.78 kB / 0.8502 GB, free: 1.844 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.231e-05/0.7, allocations: 27.92 kB / 0.8502 GB, free: 1.816 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/0.702, allocations: 1.65 MB / 0.8518 GB, free: 24 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.702, allocations: 0 / 0.8518 GB, free: 24 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.706, allocations: 1.435 MB / 0.8532 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000515/0.7066, allocations: 303.5 kB / 0.8535 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001606/0.7067, allocations: 20 kB / 0.8535 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.7079, allocations: 119.8 kB / 0.8536 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.7081, allocations: 72.98 kB / 0.8537 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.7082, allocations: 43.97 kB / 0.8538 GB, free: 14 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000649/0.7088, allocations: 451 kB / 0.8542 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7088, allocations: 0 / 0.8542 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001176/0.71, allocations: 351 kB / 0.8545 GB, free: 13.22 MB / 0.6856 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.005929/0.716, allocations: 2.504 MB / 0.857 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003825/0.7198, allocations: 1.276 MB / 0.8582 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.7199, allocations: 0 / 0.8582 GB, free: 9.582 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001979/0.7218, allocations: 0.7773 MB / 0.859 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.7234, allocations: 296.5 kB / 0.8593 GB, free: 8.523 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.741, allocations: 7.803 MB / 0.8669 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.304/1.045, allocations: 1.054 MB / 0.8679 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001591/1.047, allocations: 333.8 kB / 0.8682 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009491/1.048, allocations: 433 kB / 0.8686 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of SimCode: time 9.42e-07/1.048, allocations: 0 / 0.8686 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06147/1.109, allocations: 24.55 MB / 0.8926 GB, free: 180.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.65, allocations: 12.97 kB / 0.8926 GB, free: 180.9 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)