Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant",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.006124/0.006124, allocations: 104.1 kB / 15.74 MB, free: 6.059 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.298/1.298, allocations: 222.9 MB / 239.4 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 192.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5213/0.5213, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 82.03 kB / 0.5722 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1419, allocations: 71.27 MB / 0.6418 GB, free: 4.102 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant): time 0.006295/0.1482, allocations: 6.072 MB / 0.6478 GB, free: 14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.1514, allocations: 1.774 MB / 0.6495 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003499/0.1518, allocations: 12 kB / 0.6495 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.1523, allocations: 238.1 kB / 0.6497 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0012/0.1535, allocations: 0.597 MB / 0.6503 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.155, allocations: 0.7686 MB / 0.6511 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.1563, allocations: 1.364 MB / 0.6524 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.1567, allocations: 286.2 kB / 0.6527 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.1573, allocations: 0.5446 MB / 0.6532 GB, free: 8.406 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006963/0.158, allocations: 0.7078 MB / 0.6539 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.1581, allocations: 104 kB / 0.654 GB, free: 7.594 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.1585, allocations: 219.9 kB / 0.6542 GB, free: 7.379 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.1587, allocations: 266.9 kB / 0.6545 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004631/0.1592, allocations: 0.5981 MB / 0.6551 GB, free: 6.516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1604, allocations: 1.449 MB / 0.6565 GB, free: 5.062 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1605, allocations: 0 / 0.6565 GB, free: 5.062 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1605, allocations: 0 / 0.6565 GB, free: 5.062 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.1605, allocations: 4 kB / 0.6565 GB, free: 5.059 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.007462/0.1679, allocations: 2.504 MB / 0.6589 GB, free: 2.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.168, allocations: 12.03 kB / 0.6589 GB, free: 2.488 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.1681, allocations: 122.4 kB / 0.6591 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003985/0.1721, allocations: 0.6697 MB / 0.6597 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.1733, allocations: 0.74 MB / 0.6604 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003763/0.1737, allocations: 345.3 kB / 0.6608 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.1739, allocations: 71.94 kB / 0.6608 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.1761, allocations: 1.106 MB / 0.6619 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1762, allocations: 0 / 0.6619 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/0.1763, allocations: 28 kB / 0.6619 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.1763, allocations: 16 kB / 0.6619 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.1785, allocations: 1.054 MB / 0.663 GB, free: 14.21 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006004/0.1846, allocations: 3.408 MB / 0.6663 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01451/0.1991, allocations: 3.949 MB / 0.6702 GB, free: 6.555 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/0.2007, allocations: 0.7352 MB / 0.6709 GB, free: 5.816 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.2009, allocations: 16.98 kB / 0.6709 GB, free: 5.801 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.201, allocations: 43.56 kB / 0.6709 GB, free: 5.746 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.075e-06/0.201, allocations: 0 / 0.6709 GB, free: 5.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.0327/0.2337, allocations: 8.465 MB / 0.6792 GB, free: 13.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.2338, allocations: 86.11 kB / 0.6793 GB, free: 13.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.2351, allocations: 0.849 MB / 0.6801 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.2352, allocations: 41.7 kB / 0.6802 GB, free: 12.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.2355, allocations: 448.5 kB / 0.6806 GB, free: 11.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/0.2359, allocations: 319.5 kB / 0.6809 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003964/0.2363, allocations: 158.6 kB / 0.681 GB, free: 11.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.2365, allocations: 349.8 kB / 0.6814 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.2379, allocations: 0.6383 MB / 0.682 GB, free: 10.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.2394, allocations: 0.7729 MB / 0.6828 GB, free: 9.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/0.2423, allocations: 1.434 MB / 0.6842 GB, free: 8.016 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.2423, allocations: 4 kB / 0.6842 GB, free: 8.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01361/0.2559, allocations: 4.3 MB / 0.6884 GB, free: 3.699 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.256, allocations: 13.23 kB / 0.6884 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.256, allocations: 4 kB / 0.6884 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006615/0.2626, allocations: 2.08 MB / 0.6904 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006825/0.2633, allocations: 131.8 kB / 0.6905 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02585/0.2892, allocations: 10.63 MB / 0.7009 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.2907, allocations: 163 kB / 0.7011 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/0.2909, allocations: 39.92 kB / 0.7011 GB, free: 6.488 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 {(26,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0005263/0.2914, allocations: 227.2 kB / 0.7013 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.2917, allocations: 106.7 kB / 0.7014 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.3049, allocations: 4.27 MB / 0.7056 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.305, allocations: 8 kB / 0.7056 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.305, allocations: 3.938 kB / 0.7056 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.305, allocations: 3.984 kB / 0.7056 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.3207, allocations: 5.674 MB / 0.7111 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.3207, allocations: 0 / 0.7111 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.3212, allocations: 87.83 kB / 0.7112 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006433/0.3277, allocations: 1.983 MB / 0.7132 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/0.3279, allocations: 16 kB / 0.7132 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02356/0.3515, allocations: 9.445 MB / 0.7224 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3515, allocations: 4 kB / 0.7224 GB, free: 376 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/0.3665, allocations: 5.236 MB / 0.7275 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.367, allocations: 207.5 kB / 0.7277 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.3672, allocations: 16 kB / 0.7277 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.3683, allocations: 103.9 kB / 0.7278 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007526/0.3691, allocations: 228.5 kB / 0.7281 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.3692, allocations: 23.98 kB / 0.7281 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008403/0.3701, allocations: 0.5791 MB / 0.7286 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3701, allocations: 0 / 0.7286 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001423/0.3715, allocations: 423.6 kB / 0.729 GB, free: 9.512 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (50): * Single equations (assignments): 49 * 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 {(26,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01523/0.3868, allocations: 5.803 MB / 0.7347 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006813/0.3936, allocations: 2.416 MB / 0.7371 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.3936, allocations: 4.25 kB / 0.7371 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00529/0.3989, allocations: 1.667 MB / 0.7387 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4, allocations: 99.42 kB / 0.7388 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03865/0.4386, allocations: 15.32 MB / 0.7538 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000832/0.4395, allocations: 1.053 MB / 0.7548 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003766/0.4399, allocations: 82.3 kB / 0.7549 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.4405, allocations: 403.3 kB / 0.7553 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.4405, allocations: 0 / 0.7553 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3472/0.7877, allocations: 35.78 MB / 0.7902 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/16.39, allocations: 1 kB / 0.7902 GB, free: 113.7 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_CurrentSourceReImInputConstant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.CurrentSourceReImInputConstant.pipe 2>&1)