Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005108/0.005108, allocations: 110.4 kB / 21.96 MB, free: 5.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 206.5 kB / 25.27 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 51.94 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2435, allocations: 49.16 MB / 397.1 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00219/0.2457, allocations: 1.515 MB / 398.6 MB, free: 7.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.2472, allocations: 0.905 MB / 399.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.2473, allocations: 1.094 kB / 399.6 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.5e-05/0.2473, allocations: 12.06 kB / 399.6 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.2474, allocations: 26.48 kB / 399.6 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.2476, allocations: 48.33 kB / 399.6 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.2478, allocations: 125 kB / 399.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.2479, allocations: 21.31 kB / 399.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006203/0.2485, allocations: 0.576 MB / 400.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.2486, allocations: 77.17 kB / 400.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.2487, allocations: 10.38 kB / 400.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.831e-05/0.2487, allocations: 9.25 kB / 400.4 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.992e-05/0.2488, allocations: 69.86 kB / 400.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.15e-05/0.2489, allocations: 112.7 kB / 400.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.2493, allocations: 376.2 kB / 401 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2493, allocations: 0 / 401 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2493, allocations: 1.219 kB / 401 MB, free: 6.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.2493, allocations: 0 / 401 MB, free: 6.891 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005746/0.2498, allocations: 0.6556 MB / 401.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2499, allocations: 14.08 kB / 401.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.621e-05/0.2499, allocations: 5.469 kB / 401.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.2499, allocations: 44 kB / 401.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.756e-05/0.25, allocations: 39.94 kB / 401.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.2502, allocations: 218.1 kB / 402 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.2502, allocations: 4.969 kB / 402 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.2502, allocations: 11.47 kB / 402 MB, free: 6.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.2505, allocations: 131.2 kB / 402.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2505, allocations: 0.6562 kB / 402.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.2505, allocations: 4.375 kB / 402.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2505, allocations: 0 / 402.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.2507, allocations: 62.64 kB / 402.2 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.2512, allocations: 437.9 kB / 402.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.2513, allocations: 71.22 kB / 402.7 MB, free: 5.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.2515, allocations: 61.02 kB / 402.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.2515, allocations: 1.062 kB / 402.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003281/0.2518, allocations: 211 kB / 402.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.2518, allocations: 3.938 kB / 402.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006996/0.2525, allocations: 474.6 kB / 403.4 MB, free: 5.172 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.2525, allocations: 166.7 kB / 403.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005245/0.2531, allocations: 0.5132 MB / 404.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2531, allocations: 28.89 kB / 404.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.2531, allocations: 111.1 kB / 404.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.409e-05/0.2532, allocations: 30.53 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.2533, allocations: 89.83 kB / 404.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.2533, allocations: 324.7 kB / 404.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.2534, allocations: 54.61 kB / 404.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.2535, allocations: 75.89 kB / 404.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.2538, allocations: 346.5 kB / 405.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2538, allocations: 0.9062 kB / 405.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004553/0.2542, allocations: 388.2 kB / 405.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.2543, allocations: 123.9 kB / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2543, allocations: 1.25 kB / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2543, allocations: 1.531 kB / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.707e-05/0.2543, allocations: 0 / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2543, allocations: 2.781 kB / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.2545, allocations: 10.11 kB / 405.6 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.2545, allocations: 64.92 kB / 405.7 MB, free: 3.43 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002517/0.2548, allocations: 364.8 kB / 406.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.2548, allocations: 43.98 kB / 406.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.208e-05/0.2549, allocations: 60.81 kB / 406.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2549, allocations: 0 / 406.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2549, allocations: 1.969 kB / 406.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2549, allocations: 0.9375 kB / 406.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008282/0.2557, allocations: 0.7982 MB / 407 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2557, allocations: 1.406 kB / 407 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-06/0.2558, allocations: 0.6094 kB / 407 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2558, allocations: 1.594 kB / 407 MB, free: 2.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.2558, allocations: 19.84 kB / 407 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2558, allocations: 5.281 kB / 407 MB, free: 2.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2558, allocations: 4.453 kB / 407 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.2563, allocations: 0.5293 MB / 407.5 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.2566, allocations: 210.4 kB / 407.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.2567, allocations: 11.78 kB / 407.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.2568, allocations: 14.25 kB / 407.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.2569, allocations: 25.61 kB / 407.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.257, allocations: 66.05 kB / 407.8 MB, free: 2.004 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003856/0.2574, allocations: 387.4 kB / 408.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2574, allocations: 1.375 kB / 408.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.2576, allocations: 45.2 kB / 408.3 MB, free: 1.797 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007074/0.2583, allocations: 1.091 MB / 409.4 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.2587, allocations: 370.9 kB / 409.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2587, allocations: 3.938 kB / 409.7 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.2589, allocations: 308.9 kB / 410 MB, free: 332 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.2595, allocations: 119.1 kB / 410.1 MB, free: 296 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.2628, allocations: 2.754 MB / 412.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.2633, allocations: 0.8022 MB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.288e-05/0.2634, allocations: 9.828 kB / 413.7 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.2634, allocations: 27.19 kB / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2634, allocations: 0 / 413.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.2915, allocations: 6.239 MB / 420 MB, free: 10.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.77, allocations: 10.31 kB / 420 MB, free: 10.45 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.959903084032703] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 10.922730832011439 10.936842126 10.68477977 Calling exit ...