Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) 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: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 106.1 kB / 16.36 MB, free: 6.289 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.0009922/0.0009921, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.807/0.807, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.5067 GB, free: 7.637 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3132, allocations: 80.92 MB / 0.5858 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003198/0.3164, allocations: 2.594 MB / 0.5883 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3176, allocations: 0.9165 MB / 0.5892 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.3178, allocations: 11.66 kB / 0.5892 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.318, allocations: 63.45 kB / 0.5893 GB, free: 23.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.3181, allocations: 65.02 kB / 0.5893 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.3185, allocations: 239.5 kB / 0.5895 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002874/0.3188, allocations: 459.6 kB / 0.59 GB, free: 22.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.3191, allocations: 223 kB / 0.5902 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.529e-05/0.3192, allocations: 147.4 kB / 0.5903 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3193, allocations: 156 kB / 0.5905 GB, free: 21.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.3193, allocations: 48 kB / 0.5905 GB, free: 21.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.3194, allocations: 53.22 kB / 0.5906 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.3194, allocations: 79.78 kB / 0.5907 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.101e-05/0.3195, allocations: 187 kB / 0.5908 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.3199, allocations: 0.6208 MB / 0.5914 GB, free: 20.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3199, allocations: 0.9375 kB / 0.5914 GB, free: 20.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3199, allocations: 0 / 0.5914 GB, free: 20.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3199, allocations: 1.219 kB / 0.5914 GB, free: 20.83 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007248/0.3206, allocations: 0.6561 MB / 0.5921 GB, free: 20.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.3207, allocations: 10.14 kB / 0.5921 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.202e-05/0.3207, allocations: 44.38 kB / 0.5921 GB, free: 20.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.3211, allocations: 385.4 kB / 0.5925 GB, free: 19.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.3211, allocations: 20.94 kB / 0.5925 GB, free: 19.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.812e-05/0.3212, allocations: 33.31 kB / 0.5926 GB, free: 19.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004547/0.3216, allocations: 323 kB / 0.5929 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3216, allocations: 1.5 kB / 0.5929 GB, free: 19.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.3217, allocations: 12 kB / 0.5929 GB, free: 19.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.3217, allocations: 8 kB / 0.5929 GB, free: 19.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.3221, allocations: 232.8 kB / 0.5931 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.3232, allocations: 1.162 MB / 0.5942 GB, free: 17.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.3236, allocations: 233.9 kB / 0.5945 GB, free: 17.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.3238, allocations: 100.9 kB / 0.5946 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3238, allocations: 0 / 0.5946 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.3238, allocations: 39.62 kB / 0.5946 GB, free: 17.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.3238, allocations: 0.7188 kB / 0.5946 GB, free: 17.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.00054/0.3244, allocations: 301.3 kB / 0.5949 GB, free: 17.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.3244, allocations: 81.11 kB / 0.595 GB, free: 17.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.3246, allocations: 331.5 kB / 0.5953 GB, free: 16.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3247, allocations: 29.7 kB / 0.5953 GB, free: 16.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-05/0.3248, allocations: 192.1 kB / 0.5955 GB, free: 16.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.3248, allocations: 63.12 kB / 0.5956 GB, free: 16.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.3249, allocations: 41.7 kB / 0.5956 GB, free: 16.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.3249, allocations: 338.8 kB / 0.5959 GB, free: 16.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.3251, allocations: 86.39 kB / 0.596 GB, free: 15.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.3253, allocations: 124.9 kB / 0.5961 GB, free: 15.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.3255, allocations: 189.2 kB / 0.5963 GB, free: 15.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3256, allocations: 3.938 kB / 0.5963 GB, free: 15.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003818/0.3259, allocations: 253.3 kB / 0.5965 GB, free: 15.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.326, allocations: 4 kB / 0.5965 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.326, allocations: 0 / 0.5965 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.326, allocations: 8.578 kB / 0.5966 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.3262, allocations: 28.48 kB / 0.5966 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3262, allocations: 0 / 0.5966 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3263, allocations: 32.75 kB / 0.5966 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3263, allocations: 11.97 kB / 0.5966 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001804/0.3265, allocations: 194.4 kB / 0.5968 GB, free: 15.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001213/0.3266, allocations: 109.8 kB / 0.5969 GB, free: 14.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002074/0.3269, allocations: 158.6 kB / 0.5971 GB, free: 14.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.3269, allocations: 1.094 kB / 0.5971 GB, free: 14.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002909/0.3272, allocations: 230.7 kB / 0.5973 GB, free: 14.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.781e-06/0.3272, allocations: 8 kB / 0.5973 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-06/0.3272, allocations: 0 / 0.5973 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-06/0.3272, allocations: 0 / 0.5973 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3273, allocations: 31.92 kB / 0.5973 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.3273, allocations: 1.062 kB / 0.5973 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.3274, allocations: 19.84 kB / 0.5973 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.3274, allocations: 9.781 kB / 0.5974 GB, free: 14.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.3275, allocations: 197.1 kB / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.3276, allocations: 27.62 kB / 0.5976 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.381e-05/0.3276, allocations: 36.78 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3276, allocations: 4 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3276, allocations: 0 / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3277, allocations: 3.938 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.328, allocations: 410.4 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.328, allocations: 0 / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.3281, allocations: 23.98 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3281, allocations: 4.969 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.3282, allocations: 0 / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3282, allocations: 4 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3282, allocations: 1.062 kB / 0.598 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/0.3287, allocations: 441.6 kB / 0.5985 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.659e-05/0.3288, allocations: 136.7 kB / 0.5986 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.3288, allocations: 0 / 0.5986 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.329, allocations: 13.12 kB / 0.5986 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.329, allocations: 11.92 kB / 0.5986 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3291, allocations: 5.094 kB / 0.5986 GB, free: 13.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001706/0.3292, allocations: 235.1 kB / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3292, allocations: 0.5 kB / 0.5988 GB, free: 12.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.3296, allocations: 99.47 kB / 0.5989 GB, free: 12.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.709e-05/0.3297, allocations: 108.6 kB / 0.599 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005047/0.3302, allocations: 280.5 kB / 0.5993 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3303, allocations: 0 / 0.5993 GB, free: 12.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3304, allocations: 97.12 kB / 0.5994 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.3309, allocations: 76.94 kB / 0.5995 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000833/0.3318, allocations: 0.5547 MB / 0.6 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.3319, allocations: 0.7742 MB / 0.6008 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.3321, allocations: 27.28 kB / 0.6008 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.3321, allocations: 20.84 kB / 0.6008 GB, free: 10.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3321, allocations: 4 kB / 0.6008 GB, free: 10.85 MB / 446.1 MB Notification: Performance of Templates: time 0.005288/0.3374, allocations: 3.156 MB / 0.6039 GB, free: 7.758 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)