Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_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.00445/0.00445, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001131/0.001131, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.213/1.213, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7207/0.7207, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 62.38 kB / 0.5808 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1205, allocations: 80.21 MB / 0.6592 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.007757/0.1283, allocations: 6.953 MB / 0.6659 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4176/0.546, allocations: 155.7 MB / 0.818 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.547, allocations: 32.34 kB / 0.8181 GB, free: 9.523 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000719/0.5477, allocations: 298.3 kB / 0.8183 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.5494, allocations: 0.7155 MB / 0.819 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.5516, allocations: 1.29 MB / 0.8203 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003125/0.5548, allocations: 4.566 MB / 0.8248 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.5572, allocations: 2.682 MB / 0.8274 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.5594, allocations: 1.788 MB / 0.8291 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.5608, allocations: 1.787 MB / 0.8309 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.5612, allocations: 467.7 kB / 0.8313 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.5627, allocations: 1.068 MB / 0.8324 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.5633, allocations: 0.9913 MB / 0.8333 GB, free: 196 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.5648, allocations: 1.888 MB / 0.8352 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004556/0.5694, allocations: 5.582 MB / 0.8406 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5694, allocations: 0 / 0.8406 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5694, allocations: 3.938 kB / 0.8406 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.631e-05/0.5695, allocations: 0 / 0.8406 GB, free: 10.71 MB / 0.6075 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.006363/0.5758, allocations: 4.008 MB / 0.8445 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5759, allocations: 10.03 kB / 0.8445 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004643/0.5763, allocations: 424.2 kB / 0.8449 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008817/0.5852, allocations: 1.305 MB / 0.8462 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003363/0.5886, allocations: 2.189 MB / 0.8484 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.5887, allocations: 226 kB / 0.8486 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004451/0.5892, allocations: 295.9 kB / 0.8489 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008261/0.5974, allocations: 4.452 MB / 0.8532 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/0.5975, allocations: 0 / 0.8532 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/0.5978, allocations: 124 kB / 0.8533 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-05/0.5979, allocations: 76 kB / 0.8534 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009885/0.6078, allocations: 4.913 MB / 0.8582 GB, free: 10.21 MB / 0.6231 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.01893/0.6267, allocations: 14.05 MB / 0.8719 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009741/0.6365, allocations: 4.035 MB / 0.8759 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00342/0.6399, allocations: 1.677 MB / 0.8775 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.641, allocations: 1.077 MB / 0.8785 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004043/0.645, allocations: 2.031 MB / 0.8805 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.586e-06/0.645, allocations: 0 / 0.8805 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01248/0.6575, allocations: 5.239 MB / 0.8856 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/0.6576, allocations: 209.9 kB / 0.8858 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002418/0.66, allocations: 1.97 MB / 0.8878 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.6603, allocations: 61.7 kB / 0.8878 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009302/0.6612, allocations: 1.23 MB / 0.889 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006052/0.6618, allocations: 0.7552 MB / 0.8898 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008012/0.6626, allocations: 0.4994 MB / 0.8903 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.6627, allocations: 305.1 kB / 0.8905 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/0.6662, allocations: 1.55 MB / 0.8921 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003735/0.6699, allocations: 1.87 MB / 0.8939 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007234/0.6772, allocations: 3.392 MB / 0.8972 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.6772, allocations: 4 kB / 0.8972 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.008859/0.6861, allocations: 3.919 MB / 0.901 GB, free: 13.04 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6861, allocations: 9.875 kB / 0.901 GB, free: 13.04 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.6861, allocations: 4 kB / 0.901 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/0.6867, allocations: 97.23 kB / 0.9011 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003335/0.6901, allocations: 0.6824 MB / 0.9018 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.692, allocations: 1.71 MB / 0.9035 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/0.6949, allocations: 442.1 kB / 0.9039 GB, free: 9.965 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.6951, allocations: 119.8 kB / 0.904 GB, free: 9.848 MB / 0.67 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.001432/0.6965, allocations: 0.9361 MB / 0.9049 GB, free: 8.898 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/0.697, allocations: 230.5 kB / 0.9051 GB, free: 8.672 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009238/0.7063, allocations: 4.203 MB / 0.9092 GB, free: 4.449 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.7063, allocations: 24 kB / 0.9093 GB, free: 4.426 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7063, allocations: 4 kB / 0.9093 GB, free: 4.422 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/0.7063, allocations: 11.95 kB / 0.9093 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.7193, allocations: 7.868 MB / 0.917 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.7193, allocations: 8 kB / 0.917 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/0.7221, allocations: 0.5694 MB / 0.9175 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/0.7225, allocations: 84.78 kB / 0.9176 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001619/0.7227, allocations: 71.89 kB / 0.9177 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/0.7244, allocations: 1.713 MB / 0.9194 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7244, allocations: 0 / 0.9194 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007311/0.7318, allocations: 3.482 MB / 0.9228 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.733, allocations: 0.7605 MB / 0.9235 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003556/0.7334, allocations: 63.78 kB / 0.9236 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/0.7356, allocations: 283.5 kB / 0.9238 GB, free: 5.148 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.7359, allocations: 145.8 kB / 0.924 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/0.7361, allocations: 83.94 kB / 0.924 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001843/0.7379, allocations: 1.511 MB / 0.9255 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.804e-06/0.738, allocations: 0 / 0.9255 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001895/0.7399, allocations: 0.8725 MB / 0.9264 GB, free: 2.52 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.008835/0.7487, allocations: 4.614 MB / 0.9309 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007474/0.7562, allocations: 3.553 MB / 0.9344 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.7562, allocations: 4 kB / 0.9344 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003463/0.7597, allocations: 1.79 MB / 0.9361 GB, free: 8.715 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.7616, allocations: 453.6 kB / 0.9365 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04042/0.802, allocations: 24.28 MB / 0.9603 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.8037, allocations: 2.277 MB / 0.9625 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002761/0.8065, allocations: 0.9379 MB / 0.9634 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00203/0.8085, allocations: 1.261 MB / 0.9646 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.8085, allocations: 0 / 0.9646 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/0.9205, allocations: 60.66 MB / 1.024 GB, free: 14.73 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.81, allocations: 34.95 kB / 1.024 GB, free: 14.7 MB / 0.795 GB (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)