Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",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.007319/0.007319, allocations: 94.98 kB / 15.73 MB, free: 6.039 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.001674/0.001675, allocations: 196.2 kB / 16.68 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9124/0.9124, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 80.91 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.006539/0.3404, allocations: 6.961 MB / 0.6709 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1549/0.4954, allocations: 155.7 MB / 0.823 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.4965, allocations: 27.88 kB / 0.823 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000712/0.4972, allocations: 297.2 kB / 0.8233 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.4991, allocations: 0.7215 MB / 0.824 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.5015, allocations: 1.289 MB / 0.8253 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003985/0.5055, allocations: 4.567 MB / 0.8298 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.5085, allocations: 2.86 MB / 0.8325 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002518/0.511, allocations: 1.771 MB / 0.8343 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.5127, allocations: 1.782 MB / 0.836 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005069/0.5132, allocations: 464 kB / 0.8365 GB, free: 444 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.5148, allocations: 1.066 MB / 0.8375 GB, free: 15.37 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007482/0.5156, allocations: 0.9932 MB / 0.8385 GB, free: 14.37 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.5173, allocations: 1.87 MB / 0.8403 GB, free: 12.49 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005099/0.5224, allocations: 5.552 MB / 0.8457 GB, free: 6.922 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5224, allocations: 0 / 0.8457 GB, free: 6.922 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5224, allocations: 0 / 0.8457 GB, free: 6.922 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.839e-05/0.5225, allocations: 0 / 0.8457 GB, free: 6.922 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.006916/0.5294, allocations: 3.965 MB / 0.8496 GB, free: 2.883 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5294, allocations: 16.03 kB / 0.8496 GB, free: 2.867 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004908/0.5299, allocations: 425.5 kB / 0.85 GB, free: 2.441 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009339/0.5393, allocations: 1.297 MB / 0.8513 GB, free: 1.141 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/0.5428, allocations: 2.141 MB / 0.8534 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.5429, allocations: 234 kB / 0.8536 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004635/0.5434, allocations: 296 kB / 0.8539 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008244/0.5517, allocations: 4.448 MB / 0.8582 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.555e-05/0.5517, allocations: 7.938 kB / 0.8582 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/0.5521, allocations: 120 kB / 0.8583 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.5521, allocations: 76 kB / 0.8584 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.5626, allocations: 4.885 MB / 0.8632 GB, free: 4.766 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2848/0.8474, allocations: 14.04 MB / 0.8769 GB, free: 181 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.8579, allocations: 4.033 MB / 0.8808 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003575/0.8615, allocations: 1.666 MB / 0.8825 GB, free: 178.6 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008759/0.8624, allocations: 1.074 MB / 0.8835 GB, free: 177.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003972/0.8664, allocations: 2.032 MB / 0.8855 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=214): time 4.479e-06/0.8664, allocations: 0 / 0.8855 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=214): time 0.01252/0.879, allocations: 5.24 MB / 0.8906 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.879, allocations: 207.7 kB / 0.8908 GB, free: 173.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.8814, allocations: 1.935 MB / 0.8927 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002391/0.8817, allocations: 62.77 kB / 0.8928 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000838/0.8825, allocations: 1.207 MB / 0.8939 GB, free: 171.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005493/0.8831, allocations: 0.7521 MB / 0.8947 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008176/0.8839, allocations: 0.5095 MB / 0.8952 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 3.519e-05/0.884, allocations: 301.1 kB / 0.8955 GB, free: 170.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003479/0.8875, allocations: 1.551 MB / 0.897 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00375/0.8912, allocations: 1.872 MB / 0.8988 GB, free: 168.1 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007171/0.8984, allocations: 3.389 MB / 0.9021 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.8984, allocations: 2.719 kB / 0.9021 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009103/0.9075, allocations: 3.906 MB / 0.9059 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.9076, allocations: 6.656 kB / 0.9059 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.9076, allocations: 8.281 kB / 0.9059 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.9082, allocations: 104.8 kB / 0.906 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/0.9115, allocations: 0.6788 MB / 0.9067 GB, free: 163.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.9132, allocations: 1.705 MB / 0.9084 GB, free: 162.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/0.9163, allocations: 428 kB / 0.9088 GB, free: 161.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002104/0.9165, allocations: 129.2 kB / 0.9089 GB, free: 161.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 12 (sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (265): * Single equations (assignments): 264 * 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.001452/0.918, allocations: 0.9257 MB / 0.9098 GB, free: 161.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/0.9184, allocations: 227.9 kB / 0.91 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008844/0.9273, allocations: 4.199 MB / 0.9141 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.9273, allocations: 21.44 kB / 0.9141 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.9273, allocations: 3.844 kB / 0.9141 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.162e-05/0.9273, allocations: 15.89 kB / 0.9142 GB, free: 158.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.9392, allocations: 7.86 MB / 0.9218 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.9392, allocations: 3.938 kB / 0.9218 GB, free: 151.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/0.942, allocations: 0.5773 MB / 0.9224 GB, free: 150.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004298/0.9424, allocations: 84.72 kB / 0.9225 GB, free: 150.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001596/0.9426, allocations: 63.95 kB / 0.9225 GB, free: 150.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.9441, allocations: 1.723 MB / 0.9242 GB, free: 148.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9441, allocations: 0 / 0.9242 GB, free: 148.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006899/0.951, allocations: 3.474 MB / 0.9276 GB, free: 145.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.9522, allocations: 0.7518 MB / 0.9284 GB, free: 144.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/0.9526, allocations: 74.83 kB / 0.9284 GB, free: 144.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/0.9549, allocations: 263.6 kB / 0.9287 GB, free: 144.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.9552, allocations: 153.8 kB / 0.9288 GB, free: 144.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001701/0.9553, allocations: 83.94 kB / 0.9289 GB, free: 144.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001593/0.9569, allocations: 1.478 MB / 0.9304 GB, free: 142.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.31e-07/0.957, allocations: 0 / 0.9304 GB, free: 142.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001823/0.9588, allocations: 0.871 MB / 0.9312 GB, free: 141.7 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,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * 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.008223/0.967, allocations: 4.623 MB / 0.9357 GB, free: 137.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007137/0.9742, allocations: 3.549 MB / 0.9392 GB, free: 133.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.9742, allocations: 0 / 0.9392 GB, free: 133.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003275/0.9775, allocations: 1.79 MB / 0.9409 GB, free: 131.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.9794, allocations: 442.2 kB / 0.9414 GB, free: 131.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0377/1.017, allocations: 24.1 MB / 0.9649 GB, free: 107.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.019, allocations: 2.246 MB / 0.9671 GB, free: 104.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002745/1.021, allocations: 0.9184 MB / 0.968 GB, free: 103.8 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/1.023, allocations: 1.249 MB / 0.9692 GB, free: 102.6 MB / 0.6856 GB Notification: Performance of SimCode: time 6.71e-07/1.023, allocations: 7.938 kB / 0.9692 GB, free: 102.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07946/1.103, allocations: 60.19 MB / 1.028 GB, free: 42.75 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.87, allocations: 0 / 1.028 GB, free: 42.75 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_dev_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)