Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_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.001042/0.001042, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7167/0.7167, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001142, allocations: 59.81 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.314, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00518/0.3193, allocations: 4.502 MB / 0.5846 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1417/0.461, allocations: 150.6 MB / 0.7317 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007083/0.4617, allocations: 15.94 kB / 0.7317 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.4622, allocations: 190.2 kB / 0.7319 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.4635, allocations: 0.4962 MB / 0.7324 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.4652, allocations: 0.8133 MB / 0.7331 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009602/0.4662, allocations: 1.312 MB / 0.7344 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009314/0.4671, allocations: 0.9116 MB / 0.7353 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.4676, allocations: 0.537 MB / 0.7358 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.4681, allocations: 0.5716 MB / 0.7364 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.4683, allocations: 140 kB / 0.7365 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006855/0.4689, allocations: 483.6 kB / 0.737 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.4692, allocations: 346.9 kB / 0.7373 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004602/0.4697, allocations: 0.6489 MB / 0.738 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.4712, allocations: 1.799 MB / 0.7397 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4712, allocations: 0 / 0.7397 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4712, allocations: 3.938 kB / 0.7397 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.4712, allocations: 4 kB / 0.7397 GB, free: 13.54 MB / 0.5762 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.002128/0.4733, allocations: 1.588 MB / 0.7413 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.4734, allocations: 8.031 kB / 0.7413 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001667/0.4735, allocations: 177.5 kB / 0.7415 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.4744, allocations: 215 kB / 0.7417 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009491/0.4754, allocations: 0.8091 MB / 0.7424 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.4754, allocations: 82.3 kB / 0.7425 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.4756, allocations: 112 kB / 0.7426 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001592/0.4772, allocations: 1.138 MB / 0.7437 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.4772, allocations: 0 / 0.7437 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.709e-05/0.4773, allocations: 48 kB / 0.7438 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.4773, allocations: 28 kB / 0.7438 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.4791, allocations: 1.242 MB / 0.745 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003832/0.483, allocations: 3.019 MB / 0.748 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.4842, allocations: 0.7725 MB / 0.7487 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004452/0.4846, allocations: 290.7 kB / 0.749 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.82e-05/0.4847, allocations: 36.67 kB / 0.749 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007255/0.4854, allocations: 459 kB / 0.7495 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 1.994e-06/0.4854, allocations: 0 / 0.7495 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.002703/0.4881, allocations: 1.135 MB / 0.7506 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.381e-05/0.4882, allocations: 192.6 kB / 0.7508 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007135/0.4889, allocations: 0.6843 MB / 0.7514 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.489, allocations: 41.7 kB / 0.7515 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.4893, allocations: 0.4996 MB / 0.752 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.4895, allocations: 256.3 kB / 0.7522 GB, free: 376 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.4897, allocations: 142.5 kB / 0.7523 GB, free: 228 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4898, allocations: 333.9 kB / 0.7527 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.4902, allocations: 237.9 kB / 0.7529 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.4907, allocations: 350.5 kB / 0.7532 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/0.4917, allocations: 0.576 MB / 0.7538 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4917, allocations: 0 / 0.7538 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001619/0.4933, allocations: 0.7941 MB / 0.7546 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4933, allocations: 11.94 kB / 0.7546 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4933, allocations: 0 / 0.7546 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.4939, allocations: 84.86 kB / 0.7547 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.4945, allocations: 147.8 kB / 0.7548 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.4962, allocations: 1.626 MB / 0.7564 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.4968, allocations: 93.58 kB / 0.7565 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.4968, allocations: 27.98 kB / 0.7565 GB, free: 11.77 MB / 0.5919 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.0003208/0.4972, allocations: 275.2 kB / 0.7568 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.4973, allocations: 94.81 kB / 0.7569 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00208/0.4994, allocations: 1.027 MB / 0.7579 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4994, allocations: 8 kB / 0.7579 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4994, allocations: 15.92 kB / 0.7579 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.4994, allocations: 3.984 kB / 0.7579 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009376/0.5004, allocations: 0.9853 MB / 0.7588 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5004, allocations: 0 / 0.7588 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000539/0.5009, allocations: 147.8 kB / 0.759 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004049/0.5013, allocations: 76.78 kB / 0.7591 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.836e-05/0.5014, allocations: 19.98 kB / 0.7591 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.503, allocations: 1.658 MB / 0.7607 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5031, allocations: 0 / 0.7607 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.5047, allocations: 0.8848 MB / 0.7616 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.505, allocations: 271.6 kB / 0.7618 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.5051, allocations: 24.05 kB / 0.7618 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.5056, allocations: 55.95 kB / 0.7619 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.5057, allocations: 60.91 kB / 0.762 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.5058, allocations: 31.98 kB / 0.762 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005261/0.5063, allocations: 0.4911 MB / 0.7625 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.5063, allocations: 0 / 0.7625 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006913/0.507, allocations: 338.8 kB / 0.7628 GB, free: 5.062 MB / 0.5919 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.002929/0.51, allocations: 1.939 MB / 0.7647 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.5119, allocations: 0.9641 MB / 0.7656 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5119, allocations: 0 / 0.7656 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007839/0.5127, allocations: 0.5002 MB / 0.7661 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.5137, allocations: 292.2 kB / 0.7664 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009916/0.5237, allocations: 6.94 MB / 0.7732 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.5242, allocations: 1.083 MB / 0.7742 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007352/0.525, allocations: 270.8 kB / 0.7745 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.5255, allocations: 455.3 kB / 0.7749 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.5255, allocations: 4 kB / 0.7749 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5596/1.085, allocations: 21.61 MB / 0.796 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.62, allocations: 12 kB / 0.796 GB, free: 3.367 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)