Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001364/0.001364, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.001427/0.001427, allocations: 218.2 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 63.89 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1127, allocations: 53.38 MB / 427.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004068/0.1167, allocations: 2.398 MB / 429.5 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1185, allocations: 0.7478 MB / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1186, allocations: 0 / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.1188, allocations: 35.64 kB / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.1189, allocations: 55.5 kB / 430.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.1194, allocations: 103.8 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.1199, allocations: 263 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.1201, allocations: 87.05 kB / 430.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.1204, allocations: 127.6 kB / 430.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.1206, allocations: 115.5 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.1207, allocations: 24 kB / 431 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.934e-05/0.1208, allocations: 24 kB / 431 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.1209, allocations: 47.84 kB / 431.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.121, allocations: 131.4 kB / 431.2 MB, free: 464 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.1215, allocations: 290.7 kB / 431.5 MB, free: 172 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1215, allocations: 0 / 431.5 MB, free: 172 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1215, allocations: 0 / 431.5 MB, free: 172 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1215, allocations: 0 / 431.5 MB, free: 172 kB / 350.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.1851/0.3066, allocations: 0.6643 MB / 432.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.3067, allocations: 10.06 kB / 432.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.166e-05/0.3067, allocations: 11.28 kB / 432.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.278e-05/0.3068, allocations: 58.89 kB / 432.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.307, allocations: 39.5 kB / 432.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.3073, allocations: 243.6 kB / 432.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.826e-05/0.3074, allocations: 50.61 kB / 432.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.3074, allocations: 21.38 kB / 432.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.308, allocations: 258.5 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.308, allocations: 1.906 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.308, allocations: 9.703 kB / 432.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.308, allocations: 4.625 kB / 432.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.3085, allocations: 203.7 kB / 433.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.3096, allocations: 0.7651 MB / 433.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.3101, allocations: 253 kB / 434.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.3105, allocations: 189 kB / 434.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3106, allocations: 3.719 kB / 434.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000463/0.311, allocations: 321.2 kB / 434.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.311, allocations: 0 / 434.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001107/0.3121, allocations: 0.5702 MB / 435.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.3122, allocations: 204.1 kB / 435.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3123, allocations: 188.7 kB / 435.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3124, allocations: 33.92 kB / 435.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.3124, allocations: 138 kB / 435.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.3125, allocations: 88.89 kB / 435.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/0.3126, allocations: 68.75 kB / 435.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.3126, allocations: 335.4 kB / 436.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.3129, allocations: 108.2 kB / 436.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.3131, allocations: 167.7 kB / 436.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.3136, allocations: 418.8 kB / 436.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3136, allocations: 0 / 436.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006474/0.3143, allocations: 439.6 kB / 437.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.3143, allocations: 98.34 kB / 437.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3143, allocations: 5.062 kB / 437.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3143, allocations: 3.469 kB / 437.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.3145, allocations: 44.17 kB / 437.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3145, allocations: 4.812 kB / 437.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.3147, allocations: 37.69 kB / 437.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.3147, allocations: 8.781 kB / 437.5 MB, free: 8.379 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.0001808/0.3149, allocations: 244 kB / 437.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.3149, allocations: 26.55 kB / 437.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.315, allocations: 27.94 kB / 437.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.315, allocations: 2.219 kB / 437.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.315, allocations: 0 / 437.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.315, allocations: 2.438 kB / 437.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.3163, allocations: 0.9448 MB / 438.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3163, allocations: 1.031 kB / 438.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3164, allocations: 25.81 kB / 438.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3164, allocations: 1.312 kB / 438.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.3164, allocations: 13.91 kB / 438.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3164, allocations: 2.156 kB / 438.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3164, allocations: 5.938 kB / 438.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009458/0.3174, allocations: 0.6167 MB / 439.4 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.3174, allocations: 100.8 kB / 439.5 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.3175, allocations: 21.55 kB / 439.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.3177, allocations: 22.14 kB / 439.5 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/0.3178, allocations: 20.77 kB / 439.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.3178, allocations: 15.98 kB / 439.6 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3179, allocations: 137.6 kB / 439.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3179, allocations: 4 kB / 439.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000373/0.3183, allocations: 71.34 kB / 439.8 MB, free: 7 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.001268/0.3196, allocations: 1.18 MB / 440.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008607/0.3204, allocations: 0.5255 MB / 441.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3204, allocations: 1.094 kB / 441.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.3209, allocations: 316.9 kB / 441.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.3216, allocations: 146.9 kB / 441.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.3253, allocations: 2.926 MB / 444.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.3255, allocations: 0.7479 MB / 445.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.3258, allocations: 48.53 kB / 445.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3259, allocations: 66.97 kB / 445.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3259, allocations: 0 / 445.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.3497, allocations: 6.631 MB / 452.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.688, allocations: 19.59 kB / 452.4 MB, free: 1.66 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.05045727698598] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 8.814874651958235 8.83289687 8.707445755 Calling exit ...