Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Events.TestBreaker,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Events_TestBreaker",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.005075/0.005075, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.341/1.341, allocations: 222.9 MB / 239.4 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 200 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.464/0.464, allocations: 78.53 MB / 418.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 71.88 kB / 0.5531 GB, free: 1.516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3429, allocations: 68.17 MB / 0.6197 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Events.TestBreaker): time 0.003419/0.3463, allocations: 3.66 MB / 0.6232 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3478, allocations: 1.1 MB / 0.6243 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.348, allocations: 4 kB / 0.6243 GB, free: 5.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.3483, allocations: 123 kB / 0.6244 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.3486, allocations: 174.5 kB / 0.6246 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000835/0.3494, allocations: 0.5129 MB / 0.6251 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.3498, allocations: 0.6497 MB / 0.6257 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.35, allocations: 157.9 kB / 0.6259 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.3502, allocations: 270.8 kB / 0.6262 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.3505, allocations: 314.4 kB / 0.6265 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.3505, allocations: 44 kB / 0.6265 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3507, allocations: 108 kB / 0.6266 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.3508, allocations: 127.4 kB / 0.6267 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3509, allocations: 278.3 kB / 0.627 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.3515, allocations: 0.7184 MB / 0.6277 GB, free: 1.969 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3515, allocations: 0 / 0.6277 GB, free: 1.969 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3515, allocations: 0 / 0.6277 GB, free: 1.969 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.3515, allocations: 3.938 kB / 0.6277 GB, free: 1.965 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002867/0.3544, allocations: 1.233 MB / 0.6289 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3545, allocations: 8.031 kB / 0.6289 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.95e-05/0.3545, allocations: 82.72 kB / 0.629 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.356, allocations: 287.9 kB / 0.6293 GB, free: 312 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006041/0.3567, allocations: 445.7 kB / 0.6297 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002209/0.3569, allocations: 193.4 kB / 0.6299 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-05/0.357, allocations: 47.94 kB / 0.6299 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.358, allocations: 0.5564 MB / 0.6305 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.358, allocations: 0 / 0.6305 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.3581, allocations: 16 kB / 0.6305 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3581, allocations: 8 kB / 0.6305 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009444/0.359, allocations: 483.2 kB / 0.6309 GB, free: 14.5 MB / 446.1 MB 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.002675/0.3617, allocations: 2.078 MB / 0.633 GB, free: 12.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.3727, allocations: 2.057 MB / 0.635 GB, free: 10.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006952/0.3735, allocations: 278.3 kB / 0.6352 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/0.3735, allocations: 11.92 kB / 0.6353 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007524/0.3743, allocations: 363.1 kB / 0.6356 GB, free: 9.473 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.364e-06/0.3743, allocations: 0 / 0.6356 GB, free: 9.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.007054/0.3814, allocations: 2.203 MB / 0.6378 GB, free: 7.176 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.3815, allocations: 89.11 kB / 0.6378 GB, free: 7.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004957/0.382, allocations: 414 kB / 0.6382 GB, free: 6.656 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.382, allocations: 33.7 kB / 0.6383 GB, free: 6.617 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.3822, allocations: 280 kB / 0.6385 GB, free: 6.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3824, allocations: 134.1 kB / 0.6387 GB, free: 6.207 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.3825, allocations: 74.05 kB / 0.6387 GB, free: 6.129 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3827, allocations: 358.8 kB / 0.6391 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/0.3833, allocations: 264.7 kB / 0.6393 GB, free: 5.512 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/0.3839, allocations: 298.8 kB / 0.6396 GB, free: 5.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.385, allocations: 0.549 MB / 0.6401 GB, free: 4.652 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.385, allocations: 0 / 0.6401 GB, free: 4.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.004067/0.3891, allocations: 1.339 MB / 0.6415 GB, free: 3.293 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3891, allocations: 8 kB / 0.6415 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3891, allocations: 3.938 kB / 0.6415 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/0.3917, allocations: 0.7096 MB / 0.6422 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.3919, allocations: 47.91 kB / 0.6422 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006727/0.3987, allocations: 4.662 MB / 0.6468 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.3992, allocations: 71.69 kB / 0.6468 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.3993, allocations: 16 kB / 0.6468 GB, free: 13.49 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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): 2 systems {(6,2), (6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002409/0.3995, allocations: 164.6 kB / 0.647 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.3996, allocations: 47.44 kB / 0.647 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004024/0.4036, allocations: 1.325 MB / 0.6483 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.4037, allocations: 4 kB / 0.6483 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4037, allocations: 8 kB / 0.6483 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4037, allocations: 3.984 kB / 0.6483 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/0.4043, allocations: 0.6296 MB / 0.649 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4043, allocations: 0 / 0.649 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.4045, allocations: 23.98 kB / 0.649 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002501/0.407, allocations: 0.7134 MB / 0.6497 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.407, allocations: 7.984 kB / 0.6497 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006654/0.4137, allocations: 4.625 MB / 0.6542 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4137, allocations: 0 / 0.6542 GB, free: 5.566 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00413/0.4179, allocations: 1.313 MB / 0.6555 GB, free: 4.219 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.418, allocations: 136.3 kB / 0.6556 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/0.4181, allocations: 8 kB / 0.6556 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.4186, allocations: 43.95 kB / 0.6557 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002787/0.4189, allocations: 111.7 kB / 0.6558 GB, free: 3.906 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.4189, allocations: 8.25 kB / 0.6558 GB, free: 3.898 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002974/0.4192, allocations: 295.1 kB / 0.6561 GB, free: 3.609 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4192, allocations: 0 / 0.6561 GB, free: 3.609 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006206/0.4198, allocations: 183.7 kB / 0.6562 GB, free: 3.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart,breakerPara.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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): 2 systems {(6,2), (6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004458/0.4243, allocations: 1.859 MB / 0.6581 GB, free: 1.531 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003185/0.4275, allocations: 1.292 MB / 0.6593 GB, free: 176 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4275, allocations: 0 / 0.6593 GB, free: 176 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.4299, allocations: 0.9928 MB / 0.6603 GB, free: 15.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.4303, allocations: 41.97 kB / 0.6603 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.4428, allocations: 5.923 MB / 0.6661 GB, free: 9.012 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.4433, allocations: 0.859 MB / 0.667 GB, free: 8.129 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.4434, allocations: 31.28 kB / 0.667 GB, free: 8.102 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.4436, allocations: 191.4 kB / 0.6672 GB, free: 7.918 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4436, allocations: 4 kB / 0.6672 GB, free: 7.914 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/0.484, allocations: 14.74 MB / 0.6816 GB, free: 9.258 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.37, allocations: 15.88 kB / 0.6816 GB, free: 9.25 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Events_TestBreaker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Events_TestBreaker.fmu > OpenIPSL_OpenIPSL.Tests.Events.TestBreaker.pipe 2>&1)