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.004669/0.004669, allocations: 100.4 kB / 21.96 MB, free: 5.207 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.001972/0.001972, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.303/1.303, allocations: 207.7 MB / 236.1 MB, free: 9.805 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.001653/0.001653, allocations: 55.86 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2492, allocations: 49.16 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002478/0.2517, allocations: 1.449 MB / 398.6 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.2534, allocations: 0.862 MB / 399.4 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.698e-05/0.2535, allocations: 1.188 kB / 399.4 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.897e-05/0.2536, allocations: 12.06 kB / 399.5 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.392e-05/0.2537, allocations: 18.25 kB / 399.5 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.2539, allocations: 48.67 kB / 399.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.2541, allocations: 133.5 kB / 399.6 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2542, allocations: 15.48 kB / 399.7 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000669/0.2549, allocations: 0.5772 MB / 400.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.255, allocations: 74.47 kB / 400.3 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.261e-05/0.2551, allocations: 12.47 kB / 400.3 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.488e-05/0.2551, allocations: 10.16 kB / 400.3 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.2552, allocations: 70.33 kB / 400.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.533e-05/0.2553, allocations: 80.08 kB / 400.5 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.2557, allocations: 377.1 kB / 400.9 MB, free: 6.934 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2557, allocations: 0 / 400.9 MB, free: 6.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2557, allocations: 3.938 kB / 400.9 MB, free: 6.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.2557, allocations: 1.062 kB / 400.9 MB, free: 6.93 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.0005555/0.2562, allocations: 0.6604 MB / 401.5 MB, free: 6.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2563, allocations: 13.8 kB / 401.5 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.128e-05/0.2563, allocations: 5.781 kB / 401.5 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.2563, allocations: 40.39 kB / 401.6 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.2564, allocations: 38.89 kB / 401.6 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.2566, allocations: 214.2 kB / 401.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.2566, allocations: 13.17 kB / 401.8 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.2567, allocations: 11.66 kB / 401.8 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.257, allocations: 247 kB / 402.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.257, allocations: 0 / 402.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.257, allocations: 7.297 kB / 402.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.257, allocations: 1.719 kB / 402.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.2572, allocations: 176.5 kB / 402.3 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.2578, allocations: 428.6 kB / 402.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.258, allocations: 196 kB / 402.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.2581, allocations: 181 kB / 403.1 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.2581, allocations: 0 / 403.1 MB, free: 5.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.2584, allocations: 332.9 kB / 403.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.2584, allocations: 0 / 403.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007889/0.2592, allocations: 0.6962 MB / 404.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.2593, allocations: 168.4 kB / 404.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/0.2598, allocations: 0.5166 MB / 404.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.2599, allocations: 28.86 kB / 404.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.2599, allocations: 106.8 kB / 404.9 MB, free: 3.664 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.2599, allocations: 26.64 kB / 404.9 MB, free: 3.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.26, allocations: 86.47 kB / 405 MB, free: 3.598 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.339e-05/0.2601, allocations: 325.5 kB / 405.3 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.2602, allocations: 179.5 kB / 405.5 MB, free: 3.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.2604, allocations: 193.5 kB / 405.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.2606, allocations: 353.6 kB / 406 MB, free: 2.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2606, allocations: 0 / 406 MB, free: 2.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005114/0.2611, allocations: 0.5004 MB / 406.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.702e-05/0.2612, allocations: 127.7 kB / 406.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2612, allocations: 1.406 kB / 406.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2612, allocations: 112 / 406.7 MB, free: 2.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.953e-05/0.2612, allocations: 6 kB / 406.7 MB, free: 2.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2612, allocations: 5.734 kB / 406.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2614, allocations: 10.67 kB / 406.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.2614, allocations: 60.33 kB / 406.7 MB, free: 2.129 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.0002619/0.2617, allocations: 365.1 kB / 407.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.2618, allocations: 48.2 kB / 407.1 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/0.2618, allocations: 60.7 kB / 407.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2619, allocations: 1.344 kB / 407.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2619, allocations: 0 / 407.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2619, allocations: 0.5625 kB / 407.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008566/0.2627, allocations: 0.8961 MB / 408.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2627, allocations: 0 / 408.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-06/0.2627, allocations: 5.922 kB / 408.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2627, allocations: 0 / 408.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.2628, allocations: 17.8 kB / 408.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2628, allocations: 9.312 kB / 408.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.2628, allocations: 4 kB / 408.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005836/0.2633, allocations: 0.6585 MB / 408.8 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003292/0.2637, allocations: 202.2 kB / 409 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.2637, allocations: 12.83 kB / 409 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.2639, allocations: 13.44 kB / 409 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.264, allocations: 26.47 kB / 409 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.264, allocations: 58.06 kB / 409.1 MB, free: 448 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004084/0.2644, allocations: 384.2 kB / 409.5 MB, free: 244 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2644, allocations: 0 / 409.5 MB, free: 244 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.2647, allocations: 44.27 kB / 409.5 MB, free: 240 kB / 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.00102/0.2657, allocations: 1.213 MB / 410.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006507/0.2664, allocations: 0.6141 MB / 411.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2664, allocations: 1.344 kB / 411.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.2667, allocations: 421.1 kB / 411.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005896/0.2673, allocations: 130 kB / 411.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.2711, allocations: 3.362 MB / 415.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.2714, allocations: 199.4 kB / 415.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.2714, allocations: 5.281 kB / 415.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.2715, allocations: 30.22 kB / 415.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2715, allocations: 1.406 kB / 415.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.2985, allocations: 6.599 MB / 422.1 MB, free: 7.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.94, allocations: 2.875 kB / 422.1 MB, free: 7.965 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: 13.110502739087678] Failed to read output from testmodel.py, exit status != 0: ['time', 'nXFERGATE.y'] 11.094778095022775 11.109922198 10.851246781 Calling exit ...