Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_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.001449/0.001449, allocations: 103.2 kB / 17.58 MB, free: 5.422 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.001616/0.001616, allocations: 187.9 kB / 18.5 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 56.14 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09298, allocations: 46.62 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003952/0.09699, allocations: 2.586 MB / 330 MB, free: 1.777 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.09835, allocations: 0.7059 MB / 330.7 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.09852, allocations: 4 kB / 330.7 MB, free: 1.059 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.0987, allocations: 43.58 kB / 330.7 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.09897, allocations: 87.25 kB / 330.8 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001972/0.09918, allocations: 83.89 kB / 330.9 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.09953, allocations: 306.6 kB / 331.2 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.09977, allocations: 100.7 kB / 331.3 MB, free: 460 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.09991, allocations: 103.6 kB / 331.4 MB, free: 356 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.1001, allocations: 135.4 kB / 331.5 MB, free: 220 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.1002, allocations: 24 kB / 331.6 MB, free: 196 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.765e-05/0.1002, allocations: 28 kB / 331.6 MB, free: 168 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.1003, allocations: 55.77 kB / 331.6 MB, free: 112 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.1004, allocations: 131.4 kB / 331.8 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.1008, allocations: 279.2 kB / 332 MB, free: 15.71 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1008, allocations: 4 kB / 332 MB, free: 15.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1008, allocations: 0 / 332 MB, free: 15.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1008, allocations: 0 / 332 MB, free: 15.7 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.00105/0.1019, allocations: 0.5615 MB / 332.6 MB, free: 15.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1019, allocations: 8.031 kB / 332.6 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.538e-05/0.102, allocations: 58.73 kB / 332.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.102, allocations: 32.64 kB / 332.7 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1024, allocations: 251.8 kB / 332.9 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1024, allocations: 20.88 kB / 333 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.1024, allocations: 20.38 kB / 333 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.1029, allocations: 229 kB / 333.2 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1029, allocations: 0 / 333.2 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.1029, allocations: 11.98 kB / 333.2 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.103, allocations: 12 kB / 333.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004165/0.1034, allocations: 190.1 kB / 333.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.1049, allocations: 0.8929 MB / 334.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.1056, allocations: 226.5 kB / 334.5 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.106, allocations: 120.8 kB / 334.6 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.106, allocations: 0 / 334.6 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.106, allocations: 38.5 kB / 334.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.203e-06/0.106, allocations: 0 / 334.7 MB, free: 12.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.001879/0.1079, allocations: 0.5588 MB / 335.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.108, allocations: 67.22 kB / 335.3 MB, free: 12.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.1082, allocations: 223.1 kB / 335.5 MB, free: 11.96 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1083, allocations: 29.7 kB / 335.6 MB, free: 11.93 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1084, allocations: 171.8 kB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.1085, allocations: 51.27 kB / 335.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.1085, allocations: 41.7 kB / 335.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1087, allocations: 330.8 kB / 336.1 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.1089, allocations: 72.77 kB / 336.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1091, allocations: 114 kB / 336.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.1094, allocations: 185.8 kB / 336.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1095, allocations: 0 / 336.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008572/0.1103, allocations: 345.9 kB / 336.8 MB, free: 10.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1103, allocations: 8.031 kB / 336.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1104, allocations: 0 / 336.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004342/0.1108, allocations: 80.73 kB / 336.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.111, allocations: 43.98 kB / 337 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002861/0.1139, allocations: 2.017 MB / 339 MB, free: 8.27 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.114, allocations: 27.69 kB / 339 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.1141, allocations: 8 kB / 339 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001395/0.1142, allocations: 144.1 kB / 339.2 MB, free: 8.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00011/0.1143, allocations: 98.42 kB / 339.3 MB, free: 7.973 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001713/0.1145, allocations: 142 kB / 339.4 MB, free: 7.812 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.728e-06/0.1145, allocations: 7.984 kB / 339.4 MB, free: 7.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003205/0.1148, allocations: 218 kB / 339.6 MB, free: 7.582 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.1149, allocations: 8 kB / 339.6 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.1149, allocations: 0 / 339.6 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.652e-05/0.115, allocations: 32.88 kB / 339.7 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1151, allocations: 44.11 kB / 339.7 MB, free: 7.496 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009623/0.1161, allocations: 1.414 MB / 341.1 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.1162, allocations: 15.88 kB / 341.1 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1162, allocations: 8 kB / 341.1 MB, free: 5.922 MB / 286.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.1164, allocations: 188.2 kB / 341.3 MB, free: 5.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.1164, allocations: 19.81 kB / 341.3 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.1165, allocations: 29.45 kB / 341.4 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1165, allocations: 0 / 341.4 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1165, allocations: 0 / 341.4 MB, free: 5.688 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1165, allocations: 4.062 kB / 341.4 MB, free: 5.684 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.1176, allocations: 0.62 MB / 342 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1177, allocations: 4 kB / 342 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1178, allocations: 23.92 kB / 342 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002689/0.1181, allocations: 84.73 kB / 342.1 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1181, allocations: 4 kB / 342.1 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.1205, allocations: 1.927 MB / 344 MB, free: 2.816 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1206, allocations: 4.062 kB / 344 MB, free: 2.812 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008945/0.1215, allocations: 442.6 kB / 344.5 MB, free: 2.363 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.1215, allocations: 92.89 kB / 344.6 MB, free: 2.254 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.1216, allocations: 0 / 344.6 MB, free: 2.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.1217, allocations: 28.05 kB / 344.6 MB, free: 2.227 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.1218, allocations: 7.984 kB / 344.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1218, allocations: 8 kB / 344.6 MB, free: 2.211 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1219, allocations: 168.5 kB / 344.8 MB, free: 2.047 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.122, allocations: 0 / 344.8 MB, free: 2.047 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005113/0.1225, allocations: 111.7 kB / 344.9 MB, free: 1.938 MB / 286.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.1237, allocations: 0.9706 MB / 345.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1248, allocations: 0.5499 MB / 346.4 MB, free: 372 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1249, allocations: 0 / 346.4 MB, free: 372 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.1252, allocations: 202.5 kB / 346.6 MB, free: 156 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.1256, allocations: 29.31 kB / 346.6 MB, free: 128 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004274/0.1299, allocations: 2.66 MB / 349.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1303, allocations: 0.744 MB / 350 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.1304, allocations: 21.95 kB / 350.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.1305, allocations: 63.41 kB / 350.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1305, allocations: 0 / 350.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.1582, allocations: 5.332 MB / 355.4 MB, free: 7.094 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.25, allocations: 7.812 kB / 355.5 MB, free: 7.086 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)