Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.004695/0.004695, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001244/0.001244, allocations: 202.7 kB / 16.68 MB, free: 5.934 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8346/0.8346, allocations: 135.6 MB / 426.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.001901, allocations: 67.39 kB / 0.5857 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1393, allocations: 81.01 MB / 0.6648 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00653/0.1459, allocations: 4.496 MB / 0.6692 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.462/0.6079, allocations: 150.6 MB / 0.8163 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000714/0.6086, allocations: 20.25 kB / 0.8163 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.6093, allocations: 189.9 kB / 0.8165 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.6108, allocations: 498.9 kB / 0.817 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.6125, allocations: 0.8256 MB / 0.8178 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.6136, allocations: 1.319 MB / 0.8191 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.6147, allocations: 0.9191 MB / 0.82 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000592/0.6153, allocations: 0.5344 MB / 0.8205 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.6159, allocations: 0.5696 MB / 0.8211 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.616, allocations: 142.6 kB / 0.8212 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008462/0.6169, allocations: 0.5093 MB / 0.8217 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/0.6172, allocations: 343 kB / 0.822 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005412/0.6177, allocations: 0.6404 MB / 0.8227 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.6196, allocations: 1.851 MB / 0.8245 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6197, allocations: 0 / 0.8245 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6197, allocations: 3.938 kB / 0.8245 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.6197, allocations: 4 kB / 0.8245 GB, free: 3.473 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002509/0.6222, allocations: 1.626 MB / 0.8261 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.6222, allocations: 10.73 kB / 0.8261 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.6224, allocations: 171.5 kB / 0.8262 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009128/0.6234, allocations: 223.8 kB / 0.8264 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.6246, allocations: 0.8448 MB / 0.8273 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.826e-05/0.6247, allocations: 82.92 kB / 0.8273 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.6248, allocations: 109.5 kB / 0.8274 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.6266, allocations: 1.142 MB / 0.8286 GB, free: 452 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.6266, allocations: 0 / 0.8286 GB, free: 452 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.8e-05/0.6267, allocations: 52.56 kB / 0.8286 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.6268, allocations: 28.03 kB / 0.8286 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.6287, allocations: 1.239 MB / 0.8299 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004296/0.633, allocations: 2.983 MB / 0.8328 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.6343, allocations: 0.7712 MB / 0.8335 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.6348, allocations: 291.4 kB / 0.8338 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.586e-05/0.6349, allocations: 33.61 kB / 0.8338 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007616/0.6357, allocations: 446.7 kB / 0.8343 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=78): time 4.168e-06/0.6357, allocations: 4 kB / 0.8343 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=78): time 0.002906/0.6386, allocations: 1.14 MB / 0.8354 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.6387, allocations: 198.9 kB / 0.8356 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/0.6395, allocations: 0.6862 MB / 0.8362 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.017e-05/0.6396, allocations: 43.05 kB / 0.8363 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.64, allocations: 0.5031 MB / 0.8368 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.6402, allocations: 270.9 kB / 0.837 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.6404, allocations: 142.7 kB / 0.8372 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.6406, allocations: 333.6 kB / 0.8375 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.6411, allocations: 240.2 kB / 0.8377 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.6416, allocations: 347.9 kB / 0.838 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.6427, allocations: 0.5735 MB / 0.8386 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.6427, allocations: 7.875 kB / 0.8386 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001772/0.6445, allocations: 0.7901 MB / 0.8394 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.6445, allocations: 14.47 kB / 0.8394 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6445, allocations: 2.188 kB / 0.8394 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006133/0.6451, allocations: 83.8 kB / 0.8395 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.6457, allocations: 148.9 kB / 0.8396 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.6479, allocations: 1.633 MB / 0.8412 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.6485, allocations: 97.14 kB / 0.8413 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.485e-05/0.6485, allocations: 36.08 kB / 0.8413 GB, free: 7.492 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (84): * Single equations (assignments): 83 * 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.0003956/0.6489, allocations: 271.1 kB / 0.8416 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.6491, allocations: 94.03 kB / 0.8417 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.6513, allocations: 1.026 MB / 0.8427 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.6514, allocations: 9.438 kB / 0.8427 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.6514, allocations: 0 / 0.8427 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.6514, allocations: 3.984 kB / 0.8427 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.6525, allocations: 0.9883 MB / 0.8437 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6525, allocations: 0 / 0.8437 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.6531, allocations: 149.1 kB / 0.8438 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/0.6535, allocations: 70 kB / 0.8439 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.6536, allocations: 23.73 kB / 0.8439 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.6555, allocations: 1.669 MB / 0.8455 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.6555, allocations: 0 / 0.8455 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.6573, allocations: 0.8943 MB / 0.8464 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.6577, allocations: 276.2 kB / 0.8467 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.6578, allocations: 16 kB / 0.8467 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.6583, allocations: 51.95 kB / 0.8467 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.6585, allocations: 60.91 kB / 0.8468 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.6586, allocations: 35.98 kB / 0.8468 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006292/0.6592, allocations: 499 kB / 0.8473 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6592, allocations: 0 / 0.8473 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008188/0.66, allocations: 342.9 kB / 0.8476 GB, free: 2.41 MB / 0.6075 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.003976/0.664, allocations: 1.934 MB / 0.8495 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.6656, allocations: 0.7777 MB / 0.8503 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.6657, allocations: 0 / 0.8503 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009123/0.6666, allocations: 0.4964 MB / 0.8508 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.6678, allocations: 309.7 kB / 0.851 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.6794, allocations: 6.692 MB / 0.8576 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007297/0.6802, allocations: 1.074 MB / 0.8586 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007986/0.681, allocations: 266.8 kB / 0.8589 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006316/0.6816, allocations: 459.2 kB / 0.8593 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.6816, allocations: 0 / 0.8593 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/0.7368, allocations: 21.91 MB / 0.8807 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.08, allocations: 14.12 kB / 0.8807 GB, free: 0.7422 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)