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.001494/0.001494, allocations: 106.5 kB / 19.74 MB, free: 2.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.001596/0.001596, allocations: 219.4 kB / 22.92 MB, free: 5.535 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.298/1.298, allocations: 230.5 MB / 256.4 MB, free: 8.426 MB / 206.1 MB " [Timeout remaining time 179] 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.001781/0.001781, allocations: 67.89 kB / 376.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2228, allocations: 53.33 MB / 429.4 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003372/0.2261, allocations: 2.393 MB / 431.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.2273, allocations: 0.7517 MB / 432.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.239e-05/0.2274, allocations: 4 kB / 432.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.2276, allocations: 35.66 kB / 432.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.2277, allocations: 59.48 kB / 432.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.228, allocations: 103.8 kB / 432.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.2283, allocations: 263 kB / 433 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.2285, allocations: 75.05 kB / 433.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.2287, allocations: 123.6 kB / 433.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.2289, allocations: 115.5 kB / 433.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.2289, allocations: 24 kB / 433.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.229, allocations: 28 kB / 433.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.2291, allocations: 51.78 kB / 433.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2292, allocations: 131.3 kB / 433.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.2296, allocations: 291.5 kB / 433.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2296, allocations: 0 / 433.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2296, allocations: 0 / 433.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2296, allocations: 0 / 433.8 MB, free: 3.117 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.001006/0.2306, allocations: 0.6716 MB / 434.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2306, allocations: 8.031 kB / 434.5 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.2307, allocations: 54.73 kB / 434.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.2308, allocations: 44.67 kB / 434.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.2312, allocations: 252 kB / 434.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.2313, allocations: 46.05 kB / 434.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.2313, allocations: 24.38 kB / 434.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.2318, allocations: 260 kB / 435.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2318, allocations: 0 / 435.2 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.2319, allocations: 8 kB / 435.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.2319, allocations: 4 kB / 435.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004734/0.2323, allocations: 208.3 kB / 435.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.2336, allocations: 0.7565 MB / 436.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.2341, allocations: 255.2 kB / 436.4 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.2345, allocations: 190.5 kB / 436.6 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.2345, allocations: 0 / 436.6 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005011/0.235, allocations: 320.2 kB / 436.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.222e-06/0.235, allocations: 0 / 436.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00113/0.2361, allocations: 0.575 MB / 437.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.2362, allocations: 203.9 kB / 437.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.2364, allocations: 184.2 kB / 437.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.2364, allocations: 41.7 kB / 437.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/0.2365, allocations: 136.8 kB / 438 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.2366, allocations: 87.31 kB / 438.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.403e-05/0.2367, allocations: 66.02 kB / 438.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2368, allocations: 338.8 kB / 438.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.2371, allocations: 108.6 kB / 438.6 MB, free: 14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.2373, allocations: 171.3 kB / 438.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.2379, allocations: 416.3 kB / 439.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2379, allocations: 0 / 439.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006677/0.2385, allocations: 445.4 kB / 439.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.133e-05/0.2386, allocations: 101.1 kB / 439.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2386, allocations: 4 kB / 439.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2386, allocations: 0 / 439.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.2388, allocations: 35.92 kB / 439.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2388, allocations: 4 kB / 439.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.239, allocations: 39.83 kB / 439.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.239, allocations: 8 kB / 439.8 MB, free: 12.69 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.0002171/0.2392, allocations: 247.7 kB / 440.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.2393, allocations: 31.8 kB / 440.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.2393, allocations: 26.64 kB / 440.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.2393, allocations: 0 / 440.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2393, allocations: 0 / 440.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2393, allocations: 4 kB / 440.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.2406, allocations: 0.935 MB / 441.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2406, allocations: 0 / 441.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.2407, allocations: 31.86 kB / 441.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2407, allocations: 0 / 441.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.2408, allocations: 16.02 kB / 441.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2408, allocations: 3.984 kB / 441.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2408, allocations: 0 / 441.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/0.2416, allocations: 0.6207 MB / 441.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.244e-05/0.2417, allocations: 108.8 kB / 441.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.2418, allocations: 12 kB / 441.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.242, allocations: 27.97 kB / 441.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.242, allocations: 19.97 kB / 441.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.2421, allocations: 19.92 kB / 441.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.2422, allocations: 127.2 kB / 442 MB, free: 10.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2422, allocations: 4 kB / 442 MB, free: 10.33 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.2425, allocations: 72 kB / 442.1 MB, free: 10.26 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.00123/0.2437, allocations: 1.18 MB / 443.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007751/0.2445, allocations: 0.5345 MB / 443.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2445, allocations: 0 / 443.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.2449, allocations: 322.6 kB / 444.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.2456, allocations: 146.2 kB / 444.3 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.2492, allocations: 2.93 MB / 447.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.2496, allocations: 0.7444 MB / 448 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001468/0.2497, allocations: 53.89 kB / 448 MB, free: 4.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.2498, allocations: 71.41 kB / 448.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2498, allocations: 0 / 448.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.2794, allocations: 6.614 MB / 454.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.304/7.583, allocations: 14.05 kB / 454.7 MB, free: 13.55 MB / 366.1 MB " [Timeout remaining time 652] (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 --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: 9.683537935001368]