Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 72.77 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2722, allocations: 53.36 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003852/0.2761, allocations: 2.404 MB / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.2775, allocations: 0.7556 MB / 435.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2777, allocations: 7.938 kB / 435.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.2778, allocations: 27.72 kB / 435.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2779, allocations: 59.48 kB / 435.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.2784, allocations: 115.6 kB / 435.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.2787, allocations: 263 kB / 435.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.279, allocations: 80.34 kB / 435.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.2792, allocations: 123.6 kB / 435.7 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.2794, allocations: 115.5 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.2795, allocations: 20 kB / 435.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.75e-05/0.2796, allocations: 28 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.2796, allocations: 51.78 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.2798, allocations: 123.4 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.2802, allocations: 295.7 kB / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2802, allocations: 0 / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2802, allocations: 0 / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2802, allocations: 0 / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001157/0.2814, allocations: 0.6039 MB / 437 MB, free: 1.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2814, allocations: 12.03 kB / 437 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.369e-05/0.2815, allocations: 50.73 kB / 437 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.2817, allocations: 44.73 kB / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/0.2821, allocations: 190.1 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.99e-05/0.2822, allocations: 71.75 kB / 437.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.911e-05/0.2822, allocations: 20.38 kB / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.2828, allocations: 260.1 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2828, allocations: 0 / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.2828, allocations: 8 kB / 437.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.2828, allocations: 11.92 kB / 437.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.2834, allocations: 204.3 kB / 437.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.2847, allocations: 0.7243 MB / 438.5 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/0.2854, allocations: 256.9 kB / 438.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.2858, allocations: 189 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.2858, allocations: 4 kB / 439 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/0.2863, allocations: 312.3 kB / 439.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.2863, allocations: 4 kB / 439.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001235/0.2876, allocations: 0.5685 MB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.2877, allocations: 203.9 kB / 440.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.2879, allocations: 190.7 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.2879, allocations: 41.62 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.288, allocations: 136.8 kB / 440.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.476e-05/0.2881, allocations: 83.38 kB / 440.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.2882, allocations: 70.02 kB / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.2884, allocations: 338.8 kB / 440.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.2886, allocations: 108.6 kB / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.2889, allocations: 175.1 kB / 441.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.2895, allocations: 419.3 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2895, allocations: 7.938 kB / 441.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000703/0.2902, allocations: 430.5 kB / 442 MB, free: 12.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.779e-05/0.2903, allocations: 101 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2903, allocations: 0 / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2903, allocations: 4 kB / 442.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.2905, allocations: 48 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.2905, allocations: 7.938 kB / 442.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.2907, allocations: 35.95 kB / 442.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.2907, allocations: 16 kB / 442.2 MB, free: 12.14 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0002384/0.291, allocations: 235.7 kB / 442.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.291, allocations: 35.78 kB / 442.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.2911, allocations: 22.66 kB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.2911, allocations: 4 kB / 442.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2911, allocations: 0 / 442.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2911, allocations: 3.984 kB / 442.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/0.2925, allocations: 0.9074 MB / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2925, allocations: 0 / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.2926, allocations: 23.92 kB / 443.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2926, allocations: 11.92 kB / 443.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.2927, allocations: 8 kB / 443.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.2927, allocations: 0 / 443.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2927, allocations: 4 kB / 443.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009613/0.2936, allocations: 0.6176 MB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.2937, allocations: 23.8 kB / 444.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.2937, allocations: 15.98 kB / 444.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.2939, allocations: 23.98 kB / 444.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.294, allocations: 23.91 kB / 444.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.2941, allocations: 19.92 kB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.2942, allocations: 131.2 kB / 444.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2942, allocations: 4 kB / 444.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000356/0.2945, allocations: 71.94 kB / 444.4 MB, free: 9.852 MB / 350.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: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.001349/0.2959, allocations: 1.179 MB / 445.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.2967, allocations: 0.5174 MB / 446.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2967, allocations: 0 / 446.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004664/0.2972, allocations: 318.8 kB / 446.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000687/0.2979, allocations: 153 kB / 446.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003965/0.3019, allocations: 2.943 MB / 449.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.3022, allocations: 0.7444 MB / 450.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.3024, allocations: 57.88 kB / 450.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.3025, allocations: 67.41 kB / 450.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3025, allocations: 0 / 450.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03292/0.3355, allocations: 6.779 MB / 457.1 MB, free: 13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.429, allocations: 2.578 kB / 457.1 MB, free: 13 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.812345244921744] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 8.503939953166991 8.531398132 8.246171172 Calling exit ...