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.007579/0.007579, allocations: 100.1 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.001223/0.001224, allocations: 198.7 kB / 16.68 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7417/0.7417, allocations: 132.2 MB / 422.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.06 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1317, allocations: 80.21 MB / 0.6591 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.008251/0.14, allocations: 6.958 MB / 0.6659 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4589/0.5989, allocations: 155.7 MB / 0.818 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.6001, allocations: 30.16 kB / 0.8181 GB, free: 9.48 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.0007825/0.6009, allocations: 291.8 kB / 0.8183 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.6027, allocations: 0.7217 MB / 0.819 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.6051, allocations: 1.289 MB / 0.8203 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.6087, allocations: 4.57 MB / 0.8248 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.6113, allocations: 2.682 MB / 0.8274 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.6139, allocations: 1.789 MB / 0.8291 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001823/0.6157, allocations: 1.78 MB / 0.8309 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004882/0.6162, allocations: 471.8 kB / 0.8313 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.618, allocations: 1.066 MB / 0.8324 GB, free: 1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007487/0.6187, allocations: 0.9921 MB / 0.8333 GB, free: 184 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.6207, allocations: 1.888 MB / 0.8352 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005607/0.6263, allocations: 5.562 MB / 0.8406 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6263, allocations: 0 / 0.8406 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6263, allocations: 0 / 0.8406 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.414e-05/0.6264, allocations: 0 / 0.8406 GB, free: 10.72 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.006832/0.6332, allocations: 3.904 MB / 0.8444 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.6333, allocations: 10.16 kB / 0.8444 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004314/0.6337, allocations: 424.1 kB / 0.8448 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008736/0.6425, allocations: 1.289 MB / 0.8461 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003467/0.646, allocations: 2.176 MB / 0.8482 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.6461, allocations: 230 kB / 0.8484 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004941/0.6466, allocations: 292 kB / 0.8487 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007709/0.6543, allocations: 4.456 MB / 0.8531 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.487e-05/0.6544, allocations: 4 kB / 0.8531 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002894/0.6547, allocations: 120 kB / 0.8532 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.6548, allocations: 80 kB / 0.8532 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009938/0.6647, allocations: 4.901 MB / 0.858 GB, free: 10.36 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.01979/0.6845, allocations: 14.02 MB / 0.8717 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009554/0.6941, allocations: 4.048 MB / 0.8757 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004437/0.6986, allocations: 1.666 MB / 0.8773 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/0.7003, allocations: 1.077 MB / 0.8784 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005423/0.7057, allocations: 2.039 MB / 0.8804 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 7.364e-06/0.7058, allocations: 0 / 0.8804 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01496/0.7207, allocations: 5.23 MB / 0.8855 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.7209, allocations: 205.9 kB / 0.8857 GB, free: 13 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003625/0.7246, allocations: 1.977 MB / 0.8876 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003807/0.725, allocations: 61.7 kB / 0.8876 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.726, allocations: 1.192 MB / 0.8888 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/0.727, allocations: 0.7162 MB / 0.8895 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/0.7283, allocations: 0.507 MB / 0.89 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.7284, allocations: 301.1 kB / 0.8903 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.7319, allocations: 1.55 MB / 0.8918 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003815/0.7357, allocations: 1.87 MB / 0.8936 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007426/0.7432, allocations: 3.393 MB / 0.8969 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.7432, allocations: 4 kB / 0.8969 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009469/0.7527, allocations: 3.903 MB / 0.9008 GB, free: 13.29 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.7528, allocations: 8 kB / 0.9008 GB, free: 13.28 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.7528, allocations: 4 kB / 0.9008 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.7534, allocations: 97.23 kB / 0.9009 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/0.757, allocations: 0.6902 MB / 0.9015 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.7592, allocations: 1.7 MB / 0.9032 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/0.7625, allocations: 427.5 kB / 0.9036 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006444/0.7632, allocations: 127.8 kB / 0.9037 GB, free: 10.1 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.002206/0.7654, allocations: 0.9323 MB / 0.9046 GB, free: 9.152 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007737/0.7662, allocations: 221.3 kB / 0.9048 GB, free: 8.934 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.7772, allocations: 4.202 MB / 0.909 GB, free: 4.711 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.7772, allocations: 20 kB / 0.909 GB, free: 4.691 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.7773, allocations: 4 kB / 0.909 GB, free: 4.688 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.039e-05/0.7773, allocations: 15.95 kB / 0.909 GB, free: 4.672 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.7917, allocations: 7.871 MB / 0.9167 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.7917, allocations: 0 / 0.9167 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/0.7946, allocations: 0.5733 MB / 0.9172 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/0.7951, allocations: 84.78 kB / 0.9173 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/0.7953, allocations: 71.88 kB / 0.9174 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.7972, allocations: 1.713 MB / 0.9191 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.7972, allocations: 8 kB / 0.9191 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007691/0.8049, allocations: 3.469 MB / 0.9225 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/0.8064, allocations: 0.7398 MB / 0.9232 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/0.807, allocations: 67.67 kB / 0.9232 GB, free: 5.711 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/0.8095, allocations: 275.5 kB / 0.9235 GB, free: 5.441 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/0.8099, allocations: 141.8 kB / 0.9236 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/0.8101, allocations: 83.94 kB / 0.9237 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002947/0.8131, allocations: 1.515 MB / 0.9252 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8131, allocations: 0 / 0.9252 GB, free: 3.688 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00323/0.8163, allocations: 0.8605 MB / 0.926 GB, free: 2.824 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.009356/0.8257, allocations: 4.604 MB / 0.9305 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007692/0.8334, allocations: 3.547 MB / 0.934 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.8334, allocations: 3.938 kB / 0.934 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003598/0.837, allocations: 1.794 MB / 0.9358 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.8392, allocations: 453.1 kB / 0.9362 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05045/0.8897, allocations: 24.17 MB / 0.9598 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00283/0.8926, allocations: 2.281 MB / 0.962 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003478/0.8961, allocations: 0.9302 MB / 0.9629 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00306/0.8992, allocations: 1.261 MB / 0.9642 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/0.8992, allocations: 0 / 0.9642 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/1.018, allocations: 60.68 MB / 1.023 GB, free: 15.17 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.57/15.59, allocations: 24.88 kB / 1.023 GB, free: 15.14 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 & /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)