Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009955/0.0009955, allocations: 88.39 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 241.2 MB, free: 5.176 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 8.312 kB / 300.9 MB, free: 5.512 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1261, allocations: 50.42 MB / 351.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002944/0.1291, allocations: 2.19 MB / 353.5 MB, free: 8.992 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1303, allocations: 0.6314 MB / 354.2 MB, free: 8.355 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.1305, allocations: 15.88 kB / 354.2 MB, free: 8.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1307, allocations: 27.77 kB / 354.2 MB, free: 8.312 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1309, allocations: 71.45 kB / 354.3 MB, free: 8.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.1311, allocations: 71.91 kB / 354.4 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.1314, allocations: 274.7 kB / 354.6 MB, free: 7.902 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.1316, allocations: 77.25 kB / 354.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1317, allocations: 91.64 kB / 354.8 MB, free: 7.734 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001689/0.1319, allocations: 115.5 kB / 354.9 MB, free: 7.621 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.132, allocations: 12 kB / 354.9 MB, free: 7.609 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.663e-05/0.132, allocations: 16 kB / 354.9 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.1321, allocations: 35.84 kB / 355 MB, free: 7.559 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.606e-05/0.1321, allocations: 69.58 kB / 355 MB, free: 7.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1324, allocations: 207.4 kB / 355.2 MB, free: 7.281 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1324, allocations: 0 / 355.2 MB, free: 7.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1324, allocations: 0 / 355.2 MB, free: 7.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1324, allocations: 0 / 355.2 MB, free: 7.281 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001018/0.1334, allocations: 0.5263 MB / 355.8 MB, free: 6.707 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1335, allocations: 8.031 kB / 355.8 MB, free: 6.699 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.377e-05/0.1336, allocations: 58.55 kB / 355.8 MB, free: 6.633 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.639e-05/0.1337, allocations: 27.72 kB / 355.8 MB, free: 6.605 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.134, allocations: 258.5 kB / 356.1 MB, free: 6.312 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1341, allocations: 16.5 kB / 356.1 MB, free: 6.297 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.1341, allocations: 24 kB / 356.1 MB, free: 6.273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.1346, allocations: 220.9 kB / 356.4 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1346, allocations: 0 / 356.4 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.1346, allocations: 7.953 kB / 356.4 MB, free: 6.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1346, allocations: 8 kB / 356.4 MB, free: 6.039 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.1351, allocations: 202.1 kB / 356.6 MB, free: 5.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.1367, allocations: 0.9124 MB / 357.5 MB, free: 4.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006634/0.1374, allocations: 226.6 kB / 357.7 MB, free: 4.625 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.1377, allocations: 127.3 kB / 357.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1377, allocations: 0 / 357.8 MB, free: 4.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.1378, allocations: 34.56 kB / 357.9 MB, free: 4.457 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.1378, allocations: 0 / 357.9 MB, free: 4.457 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.00184/0.1396, allocations: 0.6004 MB / 358.5 MB, free: 3.828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1397, allocations: 55.39 kB / 358.5 MB, free: 3.762 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.14, allocations: 227.1 kB / 358.7 MB, free: 3.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.14, allocations: 29.7 kB / 358.8 MB, free: 3.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1402, allocations: 171.8 kB / 358.9 MB, free: 3.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.1402, allocations: 51.2 kB / 359 MB, free: 3.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.1402, allocations: 4 kB / 359 MB, free: 3.266 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0003056/0.1406, allocations: 326.8 kB / 359.3 MB, free: 2.938 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.1407, allocations: 67.95 kB / 359.4 MB, free: 2.871 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.1409, allocations: 117.9 kB / 359.5 MB, free: 2.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.1411, allocations: 79.94 kB / 359.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1411, allocations: 0 / 359.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007851/0.1419, allocations: 350.1 kB / 359.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.47e-05/0.142, allocations: 136.7 kB / 360 MB, free: 2.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.142, allocations: 0 / 360 MB, free: 2.148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003845/0.1424, allocations: 92.8 kB / 360.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.1426, allocations: 43.91 kB / 360.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.1455, allocations: 1.861 MB / 362 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1457, allocations: 27.83 kB / 362.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.1458, allocations: 8 kB / 362.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.1458, allocations: 6.344 kB / 362.1 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003033/0.1461, allocations: 176.5 kB / 362.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1461, allocations: 7.938 kB / 362.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.746e-05/0.1462, allocations: 20.86 kB / 362.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.1464, allocations: 51.91 kB / 362.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.1474, allocations: 1.304 MB / 363.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.1475, allocations: 15.84 kB / 363.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1476, allocations: 12 kB / 363.7 MB, free: 14.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.1478, allocations: 205.2 kB / 363.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.1478, allocations: 31.64 kB / 363.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.316e-05/0.1479, allocations: 25.52 kB / 363.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1479, allocations: 0 / 363.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1479, allocations: 4 kB / 363.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1479, allocations: 0 / 363.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.1491, allocations: 0.6396 MB / 364.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1491, allocations: 0 / 364.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.1492, allocations: 23.98 kB / 364.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/0.1495, allocations: 84.78 kB / 364.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.1495, allocations: 4 kB / 364.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.1518, allocations: 1.756 MB / 366.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1518, allocations: 0 / 366.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008801/0.1527, allocations: 462 kB / 366.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.1528, allocations: 96.89 kB / 367 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1528, allocations: 0 / 367 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.153, allocations: 28.05 kB / 367 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.153, allocations: 15.92 kB / 367 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.153, allocations: 0 / 367 MB, free: 10.65 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.1532, allocations: 168.6 kB / 367.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1532, allocations: 0 / 367.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005604/0.1538, allocations: 111.7 kB / 367.3 MB, free: 10.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001295/0.1551, allocations: 0.9848 MB / 368.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1562, allocations: 0.5484 MB / 368.8 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1563, allocations: 4.125 kB / 368.8 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.1566, allocations: 218.4 kB / 369 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.1571, allocations: 38.77 kB / 369.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.1597, allocations: 1.469 MB / 370.5 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1601, allocations: 0.7519 MB / 371.3 MB, free: 6.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.1603, allocations: 25.92 kB / 371.3 MB, free: 6.176 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1604, allocations: 67.42 kB / 371.4 MB, free: 6.109 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1604, allocations: 0 / 371.4 MB, free: 6.109 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.1798, allocations: 4.836 MB / 376.2 MB, free: 1.473 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.18, allocations: 239 kB / 376.5 MB, free: 1.223 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.167, allocations: 0 / 376.5 MB, free: 1.223 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)