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.006068/0.006068, allocations: 100.9 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.001448/0.001448, allocations: 194.8 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 62.33 kB / 0.5808 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1581, allocations: 80.2 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.008501/0.1667, allocations: 6.951 MB / 0.6659 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5159/0.6826, allocations: 155.7 MB / 0.818 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/0.6844, allocations: 32.88 kB / 0.818 GB, free: 2.988 MB / 0.6387 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.0009842/0.6854, allocations: 284 kB / 0.8183 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.6878, allocations: 0.7161 MB / 0.819 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.6907, allocations: 1.283 MB / 0.8203 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004741/0.6955, allocations: 4.57 MB / 0.8247 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00312/0.6986, allocations: 2.678 MB / 0.8273 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.7021, allocations: 1.786 MB / 0.8291 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003187/0.7053, allocations: 1.784 MB / 0.8308 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.7064, allocations: 467.9 kB / 0.8313 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.7087, allocations: 1.066 MB / 0.8323 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007281/0.7095, allocations: 0.9993 MB / 0.8333 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.7114, allocations: 1.885 MB / 0.8351 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004758/0.7162, allocations: 5.564 MB / 0.8406 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.7162, allocations: 0 / 0.8406 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7162, allocations: 2.375 kB / 0.8406 GB, free: 1.133 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.025e-05/0.7163, allocations: 0.7812 kB / 0.8406 GB, free: 1.133 MB / 0.6387 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.008328/0.7246, allocations: 3.892 MB / 0.8444 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.7247, allocations: 9.438 kB / 0.8444 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004987/0.7252, allocations: 424.7 kB / 0.8448 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009093/0.7343, allocations: 1.289 MB / 0.846 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004826/0.7391, allocations: 2.173 MB / 0.8482 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/0.7394, allocations: 229.5 kB / 0.8484 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.7405, allocations: 292.7 kB / 0.8487 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008272/0.7488, allocations: 4.46 MB / 0.853 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/0.7489, allocations: 3.938 kB / 0.853 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/0.7492, allocations: 125.6 kB / 0.8531 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/0.7493, allocations: 75.44 kB / 0.8532 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.7597, allocations: 4.91 MB / 0.858 GB, free: 14.44 MB / 0.6544 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.02085/0.7806, allocations: 14.03 MB / 0.8717 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009831/0.7904, allocations: 4.035 MB / 0.8757 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003745/0.7942, allocations: 1.672 MB / 0.8773 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.7955, allocations: 1.073 MB / 0.8783 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004544/0.8001, allocations: 2.035 MB / 0.8803 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=214): time 5.691e-06/0.8001, allocations: 0 / 0.8803 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=214): time 0.01411/0.8142, allocations: 5.225 MB / 0.8854 GB, free: 13.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.8144, allocations: 206.9 kB / 0.8856 GB, free: 13.59 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.8182, allocations: 1.981 MB / 0.8876 GB, free: 12.35 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003536/0.8186, allocations: 61.7 kB / 0.8876 GB, free: 12.29 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.8197, allocations: 1.197 MB / 0.8888 GB, free: 11.07 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.8207, allocations: 0.7106 MB / 0.8895 GB, free: 10.37 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001361/0.8221, allocations: 0.507 MB / 0.89 GB, free: 9.855 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8222, allocations: 305.1 kB / 0.8903 GB, free: 9.555 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/0.826, allocations: 1.55 MB / 0.8918 GB, free: 8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003987/0.83, allocations: 1.866 MB / 0.8936 GB, free: 6.035 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00754/0.8376, allocations: 3.401 MB / 0.8969 GB, free: 2.582 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.8376, allocations: 4 kB / 0.8969 GB, free: 2.578 MB / 0.67 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009906/0.8475, allocations: 3.902 MB / 0.9007 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.8476, allocations: 8 kB / 0.9007 GB, free: 14.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.8476, allocations: 7.094 kB / 0.9008 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/0.8482, allocations: 97.12 kB / 0.9008 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003511/0.8517, allocations: 0.68 MB / 0.9015 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.8538, allocations: 1.706 MB / 0.9032 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/0.8572, allocations: 427.8 kB / 0.9036 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005538/0.8578, allocations: 127.9 kB / 0.9037 GB, free: 11.55 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.00235/0.8602, allocations: 0.9328 MB / 0.9046 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008671/0.8611, allocations: 221.3 kB / 0.9048 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/0.8717, allocations: 4.203 MB / 0.9089 GB, free: 6.191 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.8718, allocations: 31.92 kB / 0.909 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8718, allocations: 0 / 0.909 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/0.8718, allocations: 15.95 kB / 0.909 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01579/0.8876, allocations: 7.851 MB / 0.9166 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.8877, allocations: 0 / 0.9166 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003007/0.8907, allocations: 0.5795 MB / 0.9172 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/0.8912, allocations: 84.78 kB / 0.9173 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004227/0.8916, allocations: 59.95 kB / 0.9173 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.8935, allocations: 1.724 MB / 0.919 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.8935, allocations: 0 / 0.919 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008004/0.9015, allocations: 3.464 MB / 0.9224 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/0.9031, allocations: 0.7545 MB / 0.9232 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006229/0.9038, allocations: 63.67 kB / 0.9232 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/0.9063, allocations: 267.6 kB / 0.9235 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/0.9066, allocations: 149.8 kB / 0.9236 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/0.9068, allocations: 79.94 kB / 0.9237 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002931/0.9098, allocations: 1.523 MB / 0.9252 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9098, allocations: 0 / 0.9252 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003244/0.9131, allocations: 0.8605 MB / 0.926 GB, free: 4.414 MB / 0.7012 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.01006/0.9231, allocations: 4.602 MB / 0.9305 GB, free: 44 kB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008161/0.9313, allocations: 3.553 MB / 0.934 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.9314, allocations: 0 / 0.934 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003884/0.9352, allocations: 1.793 MB / 0.9357 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.9379, allocations: 451.7 kB / 0.9362 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05157/0.9895, allocations: 24.16 MB / 0.9598 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/0.9919, allocations: 2.277 MB / 0.962 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004188/0.9961, allocations: 0.9418 MB / 0.9629 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003221/0.9993, allocations: 1.268 MB / 0.9641 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of SimCode: time 9.51e-07/0.9994, allocations: 0 / 0.9641 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.101, allocations: 61.73 MB / 1.024 GB, free: 176 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.99, allocations: 11.42 kB / 1.024 GB, free: 168 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)